{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/InstanceId",
  "/properties/IntegrationArn",
  "/properties/IntegrationType"
 ],
 "definitions": {
  "InstanceId": {
   "maxLength": 100,
   "minLength": 1,
   "pattern": "^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*$",
   "type": "string"
  },
  "IntegrationArn": {
   "maxLength": 140,
   "minLength": 1,
   "type": "string"
  },
  "IntegrationAssociationId": {
   "type": "string"
  },
  "IntegrationType": {
   "enum": [
    "LEX_BOT",
    "LAMBDA_FUNCTION",
    "APPLICATION",
    "CASES_DOMAIN",
    "WISDOM_ASSISTANT",
    "WISDOM_KNOWLEDGE_BASE",
    "WISDOM_QUICK_RESPONSES",
    "FILE_SCANNER",
    "MESSAGE_PROCESSOR",
    "Q_MESSAGE_TEMPLATES",
    "SES_IDENTITY"
   ],
   "type": "string"
  },
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 128,
     "minLength": 1,
     "pattern": "^(?!aws:)[a-zA-Z+-=._:/]+$",
     "type": "string"
    },
    "Value": {
     "maxLength": 256,
     "minLength": 0,
     "type": "string"
    }
   },
   "required": [
    "Key",
    "Value"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/InstanceId",
  "/properties/IntegrationType",
  "/properties/IntegrationArn"
 ],
 "properties": {
  "InstanceId": {
   "$ref": "#/definitions/InstanceId"
  },
  "IntegrationArn": {
   "$ref": "#/definitions/IntegrationArn"
  },
  "IntegrationAssociationId": {
   "$ref": "#/definitions/IntegrationAssociationId"
  },
  "IntegrationType": {
   "$ref": "#/definitions/IntegrationType"
  },
  "Tags": {
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "maxItems": 200,
   "minItems": 0,
   "type": "array"
  }
 },
 "readOnlyProperties": [
  "/properties/IntegrationAssociationId"
 ],
 "required": [
  "InstanceId",
  "IntegrationType",
  "IntegrationArn"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-connect",
 "tagging": {
  "cloudFormationSystemTags": true,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::Connect::IntegrationAssociation"
}
