Skip to content

/AWS1/CL_EC2=>CREATEVPNGATEWAY()

About CreateVpnGateway

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.

For more information, see Amazon Web Services Site-to-Site VPN in the Amazon Web Services Site-to-Site VPN User Guide.

Method Signature

IMPORTING

Required arguments:

IV_TYPE TYPE /AWS1/EC2GATEWAYTYPE /AWS1/EC2GATEWAYTYPE

The type of VPN connection this virtual private gateway supports.

Optional arguments:

IV_AVAILABILITYZONE TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The Availability Zone for the virtual private gateway.

IT_TAGSPECIFICATIONS TYPE /AWS1/CL_EC2TAGSPECIFICATION=>TT_TAGSPECIFICATIONLIST TT_TAGSPECIFICATIONLIST

The tags to apply to the virtual private gateway.

IV_AMAZONSIDEASN TYPE /AWS1/EC2LONG /AWS1/EC2LONG

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

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2CREATEVPNGWRESULT /AWS1/CL_EC2CREATEVPNGWRESULT