CreateCustomerGateway#

Description#

Creates a customer gateway.

Request Parameters#

Required parameters#

  • IpAddress — The Internet-routable IP address for the customer gateway’s outside interface.

    • Type: String

    • Required: Yes

  • Type — The type of VPN connection that this customer gateway supports (ipsec.1).

    • Type: String

    • Required: Yes

    • Valid values: ipsec.1 | ipsec.legacy

Optional parameters#

  • BgpAsn — For devices that support BGP, the customer gateway’s BGP ASN.

    • Type: Integer

    • Required: No

    • Default value: 65000

  • TagSpecification.N — The tags assigned to the resource when it is created.

Response Elements#

  • customerGatewaySet — Information about customer gateways.

  • requestId — The request ID

    • Type: String

Examples#

c2-ec2 CreateCustomerGateway Type ipsec.1 IpAddress 1.2.3.4 BgpAsn 35000
c2-ec2 CreateCustomerGateway Type ipsec.1 IpAddress 1.2.3.4 BgpAsn 35000 \
       TagSpecification.0.ResourceType customer-gateway TagSpecification.0.Tag.0.Key "tag_key" TagSpecification.0.Tag.0.Value "tag_value"