004-s3_add_attributes.json 2.09 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
{
  "patches": [
    {
      "id": "TYPEDEF_PATCH_3000_004_001",
      "description": "Add 'permissions' attribute to aws s3 bucket",
      "action": "ADD_ATTRIBUTE",
      "typeName": "aws_s3_bucket",
      "applyToVersion": "1.1",
      "updateToVersion": "1.2",
      "attributeDefs": [
        {
          "name": "permissions",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": true,
          "isUnique": false,
          "searchWeight": 5
        }, {
          "name": "ownerId",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": true,
          "isUnique": false,
          "searchWeight" : 5
        }

      ]
    }, {
      "id": "TYPEDEF_PATCH_3000_004_002",
      "description": "Add 'ownerId' attribute to aws s3 bucket",
      "action": "ADD_ATTRIBUTE",
      "typeName": "aws_s3_object",
      "applyToVersion": "1.4",
      "updateToVersion": "1.5",
      "attributeDefs": [
        {
          "name": "ownerId",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": true,
          "isUnique": false,
          "searchWeight" : 5
        }, {
          "name": "size",
          "typeName": "long",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": true,
          "isUnique": false
        }, {
          "name": "eTag",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": true,
          "isUnique": false,
          "searchWeight" : 5
        }, {
          "name": "lastModified",
          "typeName": "date",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": true,
          "isUnique": false
        }, {
          "name": "storageClass",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": true,
          "isUnique": false,
          "searchWeight" : 5
        }
      ]
    }
  ]
}