{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/VpcId",
  "/properties/SubnetId"
 ],
 "definitions": {
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 128,
     "minLength": 1,
     "type": "string"
    },
    "Value": {
     "maxLength": 256,
     "minLength": 0,
     "type": "string"
    }
   },
   "required": [
    "Key",
    "Value"
   ],
   "type": "object"
  }
 },
 "oneOf": [
  {
   "required": [
    "VpcId"
   ]
  },
  {
   "required": [
    "SubnetId"
   ]
  }
 ],
 "primaryIdentifier": [
  "/properties/ExclusionId"
 ],
 "properties": {
  "ExclusionId": {
   "type": "string"
  },
  "InternetGatewayExclusionMode": {
   "enum": [
    "allow-bidirectional",
    "allow-egress"
   ],
   "type": "string"
  },
  "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/ExclusionId"
 ],
 "required": [
  "InternetGatewayExclusionMode"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ec2-vpcblockpublicaccessexclusion.git",
 "tagging": {
  "cloudFormationSystemTags": true,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::EC2::VPCBlockPublicAccessExclusion"
}
