Learn R Programming

paws.compute (version 0.7.0)

ec2_create_vpn_gateway: Creates a virtual private gateway

Description

Creates a virtual private gateway. A virtual private gateway is the endpoint on the VPC side of your VPN connection. You can create a virtual private gateway before creating the VPC itself.

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

Usage

ec2_create_vpn_gateway(
  AvailabilityZone = NULL,
  Type,
  TagSpecifications = NULL,
  AmazonSideAsn = NULL,
  DryRun = NULL
)

Arguments

AvailabilityZone

The Availability Zone for the virtual private gateway.

Type

[required] The type of VPN connection this virtual private gateway supports.

TagSpecifications

The tags to apply to the virtual private gateway.

AmazonSideAsn

A private Autonomous System Number (ASN) for the Amazon side of a BGP session. If you're using a 16-bit ASN, it must be in the 64512 to 65534 range. If you're using a 32-bit ASN, it must be in the 4200000000 to 4294967294 range.

Default: 64512

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.