{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/TransitGatewayId",
  "/properties/SubnetIds",
  "/properties/VpcId"
 ],
 "definitions": {
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "type": "string"
    },
    "Value": {
     "type": "string"
    }
   },
   "required": [
    "Value",
    "Key"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/Id"
 ],
 "properties": {
  "AddSubnetIds": {
   "insertionOrder": false,
   "items": {
    "type": "string"
   },
   "type": "array",
   "uniqueItems": false
  },
  "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"
  },
  "RemoveSubnetIds": {
   "insertionOrder": false,
   "items": {
    "type": "string"
   },
   "type": "array",
   "uniqueItems": false
  },
  "SubnetIds": {
   "insertionOrder": false,
   "items": {
    "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": [
  "SubnetIds",
  "VpcId",
  "TransitGatewayId"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgateway",
 "tagging": {
  "cloudFormationSystemTags": false,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::EC2::TransitGatewayVpcAttachment",
 "writeOnlyProperties": [
  "/properties/AddSubnetIds",
  "/properties/RemoveSubnetIds"
 ]
}
