{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/TransitGatewayId",
  "/properties/VpcId"
 ],
 "definitions": {
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "type": "string"
    },
    "Value": {
     "type": "string"
    }
   },
   "required": [
    "Value",
    "Key"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/Id"
 ],
 "properties": {
  "Id": {
   "type": "string"
  },
  "Options": {
   "additionalProperties": false,
   "properties": {
    "ApplianceModeSupport": {
     "enum": [
      "disable",
      "enable"
     ],
     "type": "string"
    },
    "DnsSupport": {
     "enum": [
      "disable",
      "enable"
     ],
     "type": "string"
    },
    "Ipv6Support": {
     "enum": [
      "disable",
      "enable"
     ],
     "type": "string"
    },
    "SecurityGroupReferencingSupport": {
     "enum": [
      "disable",
      "enable"
     ],
     "type": "string"
    }
   },
   "type": "object"
  },
  "SubnetIds": {
   "insertionOrder": false,
   "items": {
    "relationshipRef": {
     "propertyPath": "/properties/SubnetId",
     "typeName": "AWS::EC2::Subnet"
    },
    "type": "string"
   },
   "type": "array",
   "uniqueItems": false
  },
  "Tags": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "type": "array",
   "uniqueItems": false
  },
  "TransitGatewayId": {
   "type": "string"
  },
  "VpcId": {
   "format": "AWS::EC2::VPC.Id",
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/Id"
 ],
 "required": [
  "VpcId",
  "SubnetIds",
  "TransitGatewayId"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgateway",
 "tagging": {
  "cloudFormationSystemTags": true,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::EC2::TransitGatewayAttachment"
}
