{
  "typeName" : "AWS::EC2::EgressOnlyInternetGateway",
  "description" : "Resource Type definition for AWS::EC2::EgressOnlyInternetGateway",
  "sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ec2",
  "additionalProperties" : false,
  "properties" : {
    "Id" : {
      "description" : "Service Generated ID of the EgressOnlyInternetGateway",
      "type" : "string"
    },
    "VpcId" : {
      "description" : "The ID of the VPC for which to create the egress-only internet gateway.",
      "type" : "string"
    },
    "Tags" : {
      "type" : "array",
      "description" : "Any tags assigned to the egress only internet gateway.",
      "uniqueItems" : false,
      "insertionOrder" : false,
      "items" : {
        "$ref" : "#/definitions/Tag"
      }
    }
  },
  "definitions" : {
    "Tag" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "Key" : {
          "type" : "string",
          "minLength" : 1,
          "maxLength" : 128
        },
        "Value" : {
          "type" : "string",
          "maxLength" : 256
        }
      },
      "required" : [ "Value", "Key" ]
    }
  },
  "tagging" : {
    "taggable" : true,
    "tagOnCreate" : true,
    "tagUpdatable" : true,
    "cloudFormationSystemTags" : true,
    "tagProperty" : "/properties/Tags",
    "permissions" : [ "ec2:CreateTags", "ec2:DeleteTags" ]
  },
  "required" : [ "VpcId" ],
  "createOnlyProperties" : [ "/properties/VpcId" ],
  "readOnlyProperties" : [ "/properties/Id" ],
  "primaryIdentifier" : [ "/properties/Id" ],
  "handlers" : {
    "create" : {
      "permissions" : [ "ec2:CreateEgressOnlyInternetGateway", "ec2:CreateTags", "ec2:DescribeEgressOnlyInternetGateways" ]
    },
    "read" : {
      "permissions" : [ "ec2:DescribeEgressOnlyInternetGateways", "ec2:DescribeTags" ]
    },
    "delete" : {
      "permissions" : [ "ec2:DeleteEgressOnlyInternetGateway", "ec2:DescribeEgressOnlyInternetGateways", "ec2:DescribeVpcs", "ec2:DeleteTags" ]
    },
    "update" : {
      "permissions" : [ "ec2:DeleteTags", "ec2:CreateTags", "ec2:DescribeEgressOnlyInternetGateways" ]
    },
    "list" : {
      "permissions" : [ "ec2:DescribeEgressOnlyInternetGateways" ]
    }
  }
}