{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/IntegrationName",
  "/properties/SourceArn",
  "/properties/TargetArn",
  "/properties/KmsKeyId",
  "/properties/AdditionalEncryptionContext",
  "/properties/IntegrationConfig",
  "/properties/IntegrationConfig/RefreshInterval"
 ],
 "definitions": {
  "IntegrationAdditionalEncryptionContextMap": {
   "additionalProperties": false,
   "patternProperties": {
    "^[\\s\\S]*$": {
     "maxLength": 131072,
     "minLength": 0,
     "type": "string"
    }
   },
   "type": "object"
  },
  "IntegrationConfig": {
   "additionalProperties": false,
   "properties": {
    "ContinuousSync": {
     "type": "boolean"
    },
    "RefreshInterval": {
     "maxLength": 128,
     "minLength": 1,
     "type": "string"
    },
    "SourceProperties": {
     "$ref": "#/definitions/SourceProperties"
    }
   },
   "type": "object"
  },
  "SourceProperties": {
   "additionalProperties": false,
   "patternProperties": {
    "^[\\s\\S]*$": {
     "type": "string"
    }
   },
   "type": "object"
  },
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 128,
     "minLength": 1,
     "type": "string"
    },
    "Value": {
     "maxLength": 256,
     "minLength": 0,
     "type": "string"
    }
   },
   "required": [
    "Key"
   ],
   "type": "object"
  },
  "Tags": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "maxItems": 50,
   "type": "array",
   "uniqueItems": true
  }
 },
 "primaryIdentifier": [
  "/properties/IntegrationArn",
  "/properties/IntegrationName"
 ],
 "properties": {
  "AdditionalEncryptionContext": {
   "$ref": "#/definitions/IntegrationAdditionalEncryptionContextMap"
  },
  "CreateTime": {
   "type": "string"
  },
  "DataFilter": {
   "maxLength": 2048,
   "minLength": 1,
   "type": "string"
  },
  "Description": {
   "maxLength": 1000,
   "minLength": 0,
   "pattern": "^[\\S\\s]*$",
   "type": "string"
  },
  "IntegrationArn": {
   "pattern": "arn:aws:.*:.*:[0-9]+:.*",
   "type": "string"
  },
  "IntegrationConfig": {
   "$ref": "#/definitions/IntegrationConfig"
  },
  "IntegrationName": {
   "maxLength": 128,
   "minLength": 1,
   "type": "string"
  },
  "KmsKeyId": {
   "anyOf": [
    {
     "format": "AWS::KMS::Key.Arn"
    },
    {
     "format": "AWS::KMS::Key.Id"
    },
    {
     "format": "AWS::KMS::Alias.AliasName"
    }
   ],
   "maxLength": 2048,
   "minLength": 1,
   "type": "string"
  },
  "SourceArn": {
   "maxLength": 512,
   "minLength": 1,
   "pattern": "arn:aws:.*:.*:[0-9]+:.*",
   "type": "string"
  },
  "Status": {
   "type": "string"
  },
  "Tags": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "maxItems": 50,
   "type": "array",
   "uniqueItems": true
  },
  "TargetArn": {
   "maxLength": 512,
   "minLength": 1,
   "pattern": "arn:aws:.*:.*:[0-9]+:.*",
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/IntegrationArn",
  "/properties/CreateTime",
  "/properties/Status"
 ],
 "required": [
  "IntegrationName",
  "SourceArn",
  "TargetArn"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
 "tagging": {
  "cloudFormationSystemTags": true,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::Glue::Integration",
 "writeOnlyProperties": [
  "/properties/IntegrationConfig/SourceProperties",
  "/properties/IntegrationConfig/ContinuousSync"
 ]
}
