Create VPN Connection

GET {{aws_ec2_base_url}}/?CustomerGatewayId&DryRun&Options&TransitGatewayId&Type&VpnGatewayId&Action=CreateVpnConnection

Creates a VPN connection between an existing virtual private gateway and a VPN customer gateway.

Request Params

KeyDatatypeRequiredDescription
CustomerGatewayIdnullThe ID of the customer gateway.
DryRunnullChecks 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.
OptionsnullThe options for the VPN connection.
TransitGatewayIdnullThe ID of the transit gateway. If you specify a transit gateway, you cannot specify a virtual private gateway.
TypenullThe type of VPN connection (ipsec.1).
VpnGatewayIdnullThe ID of the virtual private gateway. If you specify a virtual private gateway, you cannot specify a transit gateway.
Actionstring