C# Class Amazon.EC2.Model.CreateVpnConnectionRequest

Container for the parameters to the CreateVpnConnection operation. Creates a VPN connection between an existing virtual private gateway and a VPN customer gateway. The only supported connection type is ipsec.1.

The response includes information that you need to give to your network administrator to configure your customer gateway.

We strongly recommend that you use HTTPS when calling this operation because the response contains sensitive cryptographic information for configuring your customer gateway.

If you decide to 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 this call.

This is an idempotent operation. If you perform the operation more than once, Amazon EC2 doesn't return an error.

For more information about VPN connections, see Adding a Hardware Virtual Private Gateway to Your VPC in the Amazon Virtual Private Cloud User Guide.

Inheritance: AmazonEC2Request
Show file Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
CreateVpnConnectionRequest ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

CreateVpnConnectionRequest ( string type, string customerGatewayId, string vpnGatewayId ) : System

Instantiates CreateVpnConnectionRequest with the parameterized properties

Private Methods

Method Description
IsSetCustomerGatewayId ( ) : bool
IsSetOptions ( ) : bool
IsSetType ( ) : bool
IsSetVpnGatewayId ( ) : bool

Method Details

CreateVpnConnectionRequest() public method

Empty constructor used to set properties independently even when a simple constructor is available
public CreateVpnConnectionRequest ( ) : System
return System

CreateVpnConnectionRequest() public method

Instantiates CreateVpnConnectionRequest with the parameterized properties
public CreateVpnConnectionRequest ( string type, string customerGatewayId, string vpnGatewayId ) : System
type string The type of VPN connection (ipsec.1).
customerGatewayId string The ID of the customer gateway.
vpnGatewayId string The ID of the virtual private gateway.
return System