AWS SDK for .NET Documentation
CreateVpnConnection Method (request)
AmazonAmazon.EC2AmazonEC2CreateVpnConnection(CreateVpnConnectionRequest) Did this page help you?   Yes   No    Tell us about it...
Creates a VPN connection between an existing virtual private gateway and a VPN customer gateway. The only supported connection type is ipsec.1.
Declaration Syntax
Parameters
request (CreateVpnConnectionRequest)
Create Vpn Connection request
Return Value
Create Vpn Connection Response from the service
Remarks
The response includes information that you need to configure your customer gateway, in XML format. It is strongly recommend that you use HTTPS when calling this operation because the response contains sensitive cryptographic information for configuring your customer gateway. If you shut down your VPN connection for any reason and later create a new VPN connection, you must reconfigure your customer gateway with the new information returned from CreateVpnConnection.
Exceptions

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)