{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-ec2-transitgatewayattachment.json",
  "title": "AWSEC2TransitGatewayAttachmentProperties",
  "description": "Resource Type definition for AWS::EC2::TransitGatewayAttachment. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgateway>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-ec2-transitgatewayattachment.json",
    "sourceSha256": "84ecfad8cec4b3c05324f90a0a5dd7b5ddd9e045c0f9e5d6a2d941d90000fece"
  },
  "type": "object",
  "properties": {
    "TransitGatewayId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "VpcId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "SubnetIds": {
      "type": "array",
      "insertionOrder": false,
      "uniqueItems": false,
      "items": {
        "type": "string"
      }
    },
    "Tags": {
      "type": "array",
      "insertionOrder": false,
      "uniqueItems": false,
      "items": {
        "$ref": "#/$defs/Tag"
      }
    },
    "Options": {
      "description": "The options for the transit gateway vpc attachment.",
      "type": "object",
      "properties": {
        "DnsSupport": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Indicates whether to enable DNS Support for Vpc Attachment. Valid Values: enable | disable"
        },
        "Ipv6Support": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable"
        },
        "ApplianceModeSupport": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable"
        }
      },
      "additionalProperties": false
    }
  },
  "typeName": "AWS::EC2::TransitGatewayAttachment",
  "primaryIdentifier": [
    "/properties/Id"
  ],
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgateway",
  "$defs": {
    "Tag": {
      "type": "object",
      "title": "AWSEC2TransitGatewayAttachmentTagDefinition",
      "properties": {
        "Key": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Value": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Value",
        "Key"
      ],
      "additionalProperties": false
    }
  },
  "readOnlyProperties": [
    "/properties/Id"
  ],
  "additionalProperties": false,
  "required": [
    "VpcId",
    "SubnetIds",
    "TransitGatewayId"
  ],
  "tagging": {
    "taggable": true,
    "tagOnCreate": true,
    "tagUpdatable": true,
    "cloudFormationSystemTags": false,
    "tagProperty": "/properties/Tags"
  },
  "createOnlyProperties": [
    "/properties/TransitGatewayId",
    "/properties/VpcId"
  ]
}
