{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-ec2-transitgatewayconnect.json",
  "title": "AWSEC2TransitGatewayConnectProperties",
  "description": "The AWS::EC2::TransitGatewayConnect type. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-myservice>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-ec2-transitgatewayconnect.json",
    "sourceSha256": "728aa07600347619ba5f2ffa7a523c895b82914569fa9979f70b6d5d1e36705d"
  },
  "type": "object",
  "properties": {
    "TransportTransitGatewayAttachmentId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The ID of the attachment from which the Connect attachment was created."
    },
    "Tags": {
      "description": "The tags for the attachment.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      }
    },
    "Options": {
      "$ref": "#/$defs/TransitGatewayConnectOptions",
      "description": "The Connect attachment options."
    }
  },
  "typeName": "AWS::EC2::TransitGatewayConnect",
  "primaryIdentifier": [
    "/properties/TransitGatewayAttachmentId"
  ],
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-myservice",
  "createOnlyProperties": [
    "/properties/TransportTransitGatewayAttachmentId",
    "/properties/Options"
  ],
  "required": [
    "TransportTransitGatewayAttachmentId",
    "Options"
  ],
  "additionalProperties": false,
  "$defs": {
    "TransitGatewayConnectOptions": {
      "type": "object",
      "properties": {
        "Protocol": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The tunnel protocol."
        }
      },
      "title": "AWSEC2TransitGatewayConnectTransitGatewayConnectOptionsDefinition",
      "additionalProperties": false
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The key of the tag. Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:."
        },
        "Value": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The value of the tag. Constraints: Tag values are case-sensitive and accept a maximum of 255 Unicode characters."
        }
      },
      "title": "AWSEC2TransitGatewayConnectTagDefinition",
      "additionalProperties": false
    }
  },
  "readOnlyProperties": [
    "/properties/TransitGatewayAttachmentId",
    "/properties/State",
    "/properties/CreationTime",
    "/properties/TransitGatewayId"
  ]
}
