Learn R Programming

paws.compute (version 0.7.0)

ec2_create_customer_gateway: Provides information to Amazon Web Services about your customer gateway device

Description

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).

See https://www.paws-r-sdk.com/docs/ec2_create_customer_gateway/ for full documentation.

Usage

ec2_create_customer_gateway(
  BgpAsn = NULL,
  PublicIp = NULL,
  CertificateArn = NULL,
  Type,
  TagSpecifications = NULL,
  DeviceName = NULL,
  IpAddress = NULL,
  DryRun = NULL,
  BgpAsnExtended = NULL
)

Arguments

BgpAsn

For customer gateway devices that support BGP, specify the device's ASN. You must specify either BgpAsn or BgpAsnExtended when creating the customer gateway. If the ASN is larger than 2,147,483,647, you must use BgpAsnExtended.

Default: 65000

Valid values: 1 to 2,147,483,647

PublicIp

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

CertificateArn

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

Type

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

TagSpecifications

The tags to apply to the customer gateway.

DeviceName

A name for the customer gateway device.

Length Constraints: Up to 255 characters.

IpAddress

IPv4 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.

DryRun

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.

BgpAsnExtended

For customer gateway devices that support BGP, specify the device's ASN. You must specify either BgpAsn or BgpAsnExtended when creating the customer gateway. If the ASN is larger than 2,147,483,647, you must use BgpAsnExtended.

Valid values: 2,147,483,648 to 4,294,967,295