Creates a VPN connection between an existing virtual private gateway or transit gateway and a customer gateway. The supported connection type is ipsec.1
.
See https://www.paws-r-sdk.com/docs/ec2_create_vpn_connection/ for full documentation.
ec2_create_vpn_connection(
CustomerGatewayId,
Type,
VpnGatewayId = NULL,
TransitGatewayId = NULL,
DryRun = NULL,
Options = NULL,
TagSpecifications = NULL
)
[required] The ID of the customer gateway.
[required] The type of VPN connection (ipsec.1
).
The ID of the virtual private gateway. If you specify a virtual private gateway, you cannot specify a transit gateway.
The ID of the transit gateway. If you specify a transit gateway, you cannot specify a virtual private gateway.
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
.
The options for the VPN connection.
The tags to apply to the VPN connection.