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 VPN connection options.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.VpnConnectionOptions

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

Syntax

C#
public class VpnConnectionOptions

The VpnConnectionOptions type exposes the following members

Constructors

NameDescription
Public Method VpnConnectionOptions()

Properties

NameTypeDescription
Public Property EnableAcceleration System.Boolean

Gets and sets the property EnableAcceleration.

Indicates whether acceleration is enabled for the VPN connection.

Public Property LocalIpv4NetworkCidr System.String

Gets and sets the property LocalIpv4NetworkCidr.

The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.

Public Property LocalIpv6NetworkCidr System.String

Gets and sets the property LocalIpv6NetworkCidr.

The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.

Public Property OutsideIpAddressType System.String

Gets and sets the property OutsideIpAddressType.

The type of IPv4 address assigned to the outside interface of the customer gateway.

Valid values: PrivateIpv4 | PublicIpv4

Default: PublicIpv4

Public Property RemoteIpv4NetworkCidr System.String

Gets and sets the property RemoteIpv4NetworkCidr.

The IPv4 CIDR on the Amazon Web Services side of the VPN connection.

Public Property RemoteIpv6NetworkCidr System.String

Gets and sets the property RemoteIpv6NetworkCidr.

The IPv6 CIDR on the Amazon Web Services side of the VPN connection.

Public Property StaticRoutesOnly System.Boolean

Gets and sets the property StaticRoutesOnly.

Indicates whether the VPN connection uses static routes only. Static routes must be used for devices that don't support BGP.

Public Property TransportTransitGatewayAttachmentId System.String

Gets and sets the property TransportTransitGatewayAttachmentId.

The transit gateway attachment ID in use for the VPN tunnel.

Public Property TunnelInsideIpVersion Amazon.EC2.TunnelInsideIpVersion

Gets and sets the property TunnelInsideIpVersion.

Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.

Public Property TunnelOptions System.Collections.Generic.List<Amazon.EC2.Model.TunnelOption>

Gets and sets the property TunnelOptions.

Indicates the VPN tunnel options.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5