{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/VpcId",
  "/properties/SubnetId",
  "/properties/ConnectivityType",
  "/properties/AllocationId",
  "/properties/PrivateIpAddress",
  "/properties/AvailabilityMode"
 ],
 "definitions": {
  "AvailabilityZoneAddress": {
   "additionalProperties": false,
   "properties": {
    "AllocationIds": {
     "insertionOrder": false,
     "items": {
      "type": "string"
     },
     "type": "array",
     "uniqueItems": true
    },
    "AvailabilityZone": {
     "type": "string"
    },
    "AvailabilityZoneId": {
     "type": "string"
    }
   },
   "required": [
    "AllocationIds"
   ],
   "type": "object"
  },
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "type": "string"
    },
    "Value": {
     "type": "string"
    }
   },
   "required": [
    "Value",
    "Key"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/NatGatewayId"
 ],
 "properties": {
  "AllocationId": {
   "type": "string"
  },
  "AutoProvisionZones": {
   "type": "string"
  },
  "AutoScalingIps": {
   "type": "string"
  },
  "AvailabilityMode": {
   "enum": [
    "regional",
    "zonal"
   ],
   "type": "string"
  },
  "AvailabilityZoneAddresses": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/AvailabilityZoneAddress"
   },
   "type": "array",
   "uniqueItems": true
  },
  "ConnectivityType": {
   "enum": [
    "private",
    "public"
   ],
   "type": "string"
  },
  "EniId": {
   "type": "string"
  },
  "MaxDrainDurationSeconds": {
   "type": "integer"
  },
  "NatGatewayId": {
   "type": "string"
  },
  "PrivateIpAddress": {
   "type": "string"
  },
  "RouteTableId": {
   "type": "string"
  },
  "SecondaryAllocationIds": {
   "insertionOrder": true,
   "items": {
    "type": "string"
   },
   "type": "array",
   "uniqueItems": true
  },
  "SecondaryPrivateIpAddressCount": {
   "maximum": 31,
   "minimum": 1,
   "type": "integer"
  },
  "SecondaryPrivateIpAddresses": {
   "insertionOrder": true,
   "items": {
    "type": "string"
   },
   "type": "array",
   "uniqueItems": true
  },
  "SubnetId": {
   "format": "AWS::EC2::Subnet.Id",
   "type": "string"
  },
  "Tags": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "type": "array",
   "uniqueItems": false
  },
  "VpcId": {
   "format": "AWS::EC2::VPC.Id",
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/NatGatewayId",
  "/properties/EniId",
  "/properties/AutoProvisionZones",
  "/properties/AutoScalingIps",
  "/properties/RouteTableId"
 ],
 "tagging": {
  "cloudFormationSystemTags": true,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::EC2::NatGateway",
 "writeOnlyProperties": [
  "/properties/MaxDrainDurationSeconds"
 ]
}
