{
 "additionalProperties": false,
 "conditionalCreateOnlyProperties": [
  "/properties/InstanceTenancy"
 ],
 "createOnlyProperties": [
  "/properties/CidrBlock",
  "/properties/Ipv4IpamPoolId",
  "/properties/Ipv4NetmaskLength"
 ],
 "definitions": {
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "type": "string"
    },
    "Value": {
     "type": "string"
    }
   },
   "required": [
    "Value",
    "Key"
   ],
   "type": "object"
  }
 },
 "dependentRequired": {
  "Ipv4IpamPoolId": [
   "Ipv4NetmaskLength"
  ],
  "Ipv4NetmaskLength": [
   "Ipv4IpamPoolId"
  ]
 },
 "primaryIdentifier": [
  "/properties/VpcId"
 ],
 "properties": {
  "CidrBlock": {
   "format": "ipv4-network",
   "type": "string"
  },
  "CidrBlockAssociations": {
   "insertionOrder": false,
   "items": {
    "type": "string"
   },
   "type": "array",
   "uniqueItems": false
  },
  "DefaultNetworkAcl": {
   "insertionOrder": false,
   "type": "string"
  },
  "DefaultSecurityGroup": {
   "format": "AWS::EC2::SecurityGroup.Id",
   "insertionOrder": false,
   "type": "string"
  },
  "EnableDnsHostnames": {
   "type": "boolean"
  },
  "EnableDnsSupport": {
   "type": "boolean"
  },
  "InstanceTenancy": {
   "enum": [
    "dedicated",
    "default",
    "host"
   ],
   "type": "string"
  },
  "Ipv4IpamPoolId": {
   "type": "string"
  },
  "Ipv4NetmaskLength": {
   "type": "integer"
  },
  "Ipv6CidrBlocks": {
   "insertionOrder": false,
   "items": {
    "type": "string"
   },
   "type": "array",
   "uniqueItems": false
  },
  "Tags": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "type": "array",
   "uniqueItems": false
  },
  "VpcId": {
   "format": "AWS::EC2::VPC.Id",
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/CidrBlockAssociations",
  "/properties/DefaultNetworkAcl",
  "/properties/DefaultSecurityGroup",
  "/properties/Ipv6CidrBlocks",
  "/properties/VpcId"
 ],
 "requiredXor": [
  "CidrBlock",
  "Ipv4IpamPoolId"
 ],
 "tagging": {
  "cloudFormationSystemTags": true,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::EC2::VPC",
 "writeOnlyProperties": [
  "/properties/Ipv4IpamPoolId",
  "/properties/Ipv4NetmaskLength"
 ]
}
