{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-connect-integrationassociation.json",
  "title": "AWSConnectIntegrationAssociationProperties",
  "description": "Resource Type definition for AWS::Connect::IntegrationAssociation. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-connect>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-connect-integrationassociation.json",
    "sourceSha256": "5704f09b278bd409e2d42192ad5d6e38e120c196d688566a5ba53121d95d1415"
  },
  "type": "object",
  "properties": {
    "InstanceId": {
      "$ref": "#/$defs/InstanceId"
    },
    "IntegrationArn": {
      "$ref": "#/$defs/IntegrationArn"
    },
    "IntegrationType": {
      "$ref": "#/$defs/IntegrationType"
    }
  },
  "typeName": "AWS::Connect::IntegrationAssociation",
  "primaryIdentifier": [
    "/properties/InstanceId",
    "/properties/IntegrationType",
    "/properties/IntegrationArn"
  ],
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-connect",
  "additionalProperties": false,
  "createOnlyProperties": [
    "/properties/InstanceId",
    "/properties/IntegrationArn",
    "/properties/IntegrationType"
  ],
  "tagging": {
    "taggable": false,
    "tagOnCreate": false,
    "tagUpdatable": false,
    "cloudFormationSystemTags": false
  },
  "$defs": {
    "IntegrationArn": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 140
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "ARN of Integration being associated with the instance",
      "title": "AWSConnectIntegrationAssociationIntegrationArnDefinition"
    },
    "IntegrationType": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "LEX_BOT",
            "LAMBDA_FUNCTION"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Specifies the integration type to be associated with the instance",
      "title": "AWSConnectIntegrationAssociationIntegrationTypeDefinition"
    },
    "InstanceId": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*$",
          "minLength": 1,
          "maxLength": 100
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Amazon Connect instance identifier",
      "title": "AWSConnectIntegrationAssociationInstanceIdDefinition"
    },
    "IntegrationAssociationId": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^[a-zA-Z]{1}(?:-?[a-zA-Z0-9])*$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Identifier of the association with Connect Instance",
      "title": "AWSConnectIntegrationAssociationIntegrationAssociationIdDefinition"
    }
  },
  "required": [
    "InstanceId",
    "IntegrationType",
    "IntegrationArn"
  ],
  "readOnlyProperties": [
    "/properties/IntegrationAssociationId"
  ]
}
