AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 3.5
 
Describes a VPN connection.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.VpnConnection

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class VpnConnection : Object

The VpnConnection type exposes the following members

Constructors

NameDescription
Public Method VpnConnection()

Properties

NameTypeDescription
Public Property CustomerGatewayConfiguration System.String Gets and sets the property CustomerGatewayConfiguration.

The configuration information for the VPN connection's customer gateway (in the native XML format). This element is always present in the CreateVpnConnection response; however, it's present in the DescribeVpnConnections response only if the VPN connection is in the pending or available state.

Public Property CustomerGatewayId System.String Gets and sets the property CustomerGatewayId.

The ID of the customer gateway at your end of the VPN connection.

Public Property Options Amazon.EC2.Model.VpnConnectionOptions Gets and sets the property Options.

The VPN connection options.

Public Property Routes System.Collections.Generic.List<Amazon.EC2.Model.VpnStaticRoute> Gets and sets the property Routes.

The static routes associated with the VPN connection.

Public Property State Amazon.EC2.VpnState Gets and sets the property State.

The current state of the VPN connection.

Public Property Tags System.Collections.Generic.List<Amazon.EC2.Model.Tag> Gets and sets the property Tags.

Any tags assigned to the VPN connection.

Public Property Type Amazon.EC2.GatewayType Gets and sets the property Type.

The type of VPN connection.

Public Property VgwTelemetry System.Collections.Generic.List<Amazon.EC2.Model.VgwTelemetry> Gets and sets the property VgwTelemetry.

Information about the VPN tunnel.

Public Property VpnConnectionId System.String Gets and sets the property VpnConnectionId.

The ID of the VPN connection.

Public Property VpnGatewayId System.String Gets and sets the property VpnGatewayId.

The ID of the virtual private gateway at the AWS side of the VPN connection.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8

.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8