POST /#Action=CreateCustomerGateway

Provides information to Amazon Web Services about your customer gateway device. The customer gateway device is the appliance at your end of the VPN connection. You must provide the IP address of the customer gateway device’s external interface. The IP address must be static and can be behind a device performing network address translation (NAT).

For devices that use Border Gateway Protocol (BGP), you can also provide the device's BGP Autonomous System Number (ASN). You can use an existing ASN assigned to your network. If you don't have an ASN already, you can use a private ASN. For more information, see Customer gateway options for your Site-to-Site VPN connection in the Amazon Web Services Site-to-Site VPN User Guide.

To create more than one customer gateway with the same VPN type, IP address, and BGP ASN, specify a unique device name for each customer gateway. An identical request returns information about the existing customer gateway; it doesn't create a new customer gateway.

Servers

Request headers

Name Type Required Description
X-Amz-Content-Sha256 String No
X-Amz-Credential String No
Content-Type String Yes The media type of the request body.

Default value: "text/xml"

X-Amz-Date String No
X-Amz-Algorithm String No
X-Amz-SignedHeaders String No
X-Amz-Security-Token String No
X-Amz-Signature String No

Query parameters

Name Type Required Description
Version String Yes

Possible values:

  • "2016-11-15"
Action String Yes

Possible values:

  • "CreateCustomerGateway"

Request body fields

Name Type Required Description
PublicIp String No

This member has been deprecated. The Internet-routable IP address for the customer gateway's outside interface. The address must be static.

TagSpecifications[] Array No

The tags to apply to the customer gateway.

CertificateArn String No

The Amazon Resource Name (ARN) for the customer gateway certificate.

IpAddress String No

IPv4 address for the customer gateway device's outside interface. The address must be static.

Type String Yes

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

Possible values:

  • "ipsec.1"
DeviceName String No

A name for the customer gateway device.

Length Constraints: Up to 255 characters.

BgpAsn Integer No

For devices that support BGP, the customer gateway's BGP ASN.

Default: 65000

DryRun Boolean No

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.