{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ec2/json-schema/amazon-ec2-create-customer-gateway-result-schema.json",
  "title": "CreateCustomerGatewayResult",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ec2-customer-gateway-api-openapi.yml#/components/schemas/CreateCustomerGatewayResult",
  "type": "object",
  "properties": {
    "CustomerGateway": {
      "$ref": "#/$defs/CustomerGateway"
    }
  },
  "$defs": {
    "CustomerGateway": {
      "type": "object",
      "properties": {
        "CertificateArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) for the customer gateway certificate."
        },
        "DeviceName": {
          "type": "string",
          "description": "The name of customer gateway device."
        },
        "Tags": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Tag"
          },
          "description": "Any tags assigned to the customer gateway."
        },
        "BgpAsnExtended": {
          "type": "string",
          "description": "The customer gateway device's Border Gateway Protocol (BGP) Autonomous System Number (ASN). Valid values: 2,147,483,648 to 4,294,967,295"
        },
        "CustomerGatewayId": {
          "type": "string",
          "description": "The ID of the customer gateway."
        },
        "State": {
          "type": "string",
          "description": "The current state of the customer gateway (pending | available | deleting | deleted)."
        },
        "Type": {
          "type": "string",
          "description": "The type of VPN connection the customer gateway supports (ipsec.1)."
        },
        "IpAddress": {
          "type": "string",
          "description": "The IP address for the customer gateway device's outside interface. The address must be static. If OutsideIpAddressType in your VPN connection options is set to PrivateIpv4, you can use an RFC6598 or RFC1918 private IPv4 address. If OutsideIpAddressType is set to PublicIpv4, you can use a public IPv4 address. If OutsideIpAddressType is set to Ipv6, you can use a public IPv6 address."
        },
        "BgpAsn": {
          "type": "string",
          "description": "The customer gateway device's Border Gateway Protocol (BGP) Autonomous System Number (ASN). Valid values: 1 to 2,147,483,647"
        }
      }
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The key of the tag. Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:."
        },
        "Value": {
          "type": "string",
          "description": "The value of the tag. Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters."
        }
      }
    }
  }
}