{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/BgpAsn",
  "/properties/Type",
  "/properties/IpAddress"
 ],
 "definitions": {
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "type": "string"
    },
    "Value": {
     "type": "string"
    }
   },
   "required": [
    "Value",
    "Key"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/Id"
 ],
 "properties": {
  "BgpAsn": {
   "type": "integer"
  },
  "Id": {
   "type": "string"
  },
  "IpAddress": {
   "type": "string"
  },
  "Tags": {
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "type": "array",
   "uniqueItems": false
  },
  "Type": {
   "enum": [
    "ipsec.1"
   ],
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/Id"
 ],
 "required": [
  "BgpAsn",
  "IpAddress",
  "Type"
 ],
 "typeName": "AWS::EC2::CustomerGateway"
}
