AWS SDK Version 3 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.

Describes a VPN connection.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.VpnConnection

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z

Syntax

C#
public class VpnConnection

The VpnConnection type exposes the following members

Constructors

NameDescription
Public Method VpnConnection()

Properties

NameTypeDescription
Public Property Category System.String

Gets and sets the property Category.

The category of the VPN connection. A value of VPN indicates an AWS VPN connection. A value of VPN-Classic indicates an AWS Classic VPN connection. For more information, see AWS Managed VPN Categories in the Amazon Virtual Private Cloud User Guide.

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 Standard:
Supported in: 1.3

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms