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
C# |
public class CreateVpnConnectionRequest : EC2Request
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
CreateVpnConnectionRequest()()()() | Initializes a new instance of the CreateVpnConnectionRequest class | |
CustomerGatewayId |
The ID of the customer gateway.
| |
Equals(Object) | (Inherited from Object.) | |
GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
IsSetCustomerGatewayId()()()() |
Checks if CustomerGatewayId property is set
| |
IsSetStaticRoutesOnly()()()() |
Checks if the StaticRoutesOnly property is set.
| |
IsSetType()()()() |
Checks if Type property is set
| |
IsSetVpnGatewayId()()()() |
Checks if VpnGatewayId property is set
| |
StaticRoutesOnly |
Whether or not the VPN connection requires static routes.
| |
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
Type |
The type of VPN connection.
The only supported connection type is ipsec.1.
| |
VpnGatewayId |
The ID of the VPN gateway.
| |
WithCustomerGatewayId(String) | Obsolete.
Sets the ID of the customer gateway.
| |
WithStaticRoutesOnly(Boolean) | Obsolete.
Sets whether or not the VPN connection requires static routes.
| |
WithType(String) | Obsolete.
Sets the type of VPN connection.
| |
WithVpnGatewayId(String) | Obsolete.
Sets the ID of the VPN gateway.
|
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.
Inheritance Hierarchy
Object | ||
EC2Request | ||
CreateVpnConnectionRequest |