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.VpnConnectionOptionsSpecification

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

Syntax

C#
public class VpnConnectionOptionsSpecification

The VpnConnectionOptionsSpecification type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property EnableAcceleration System.Boolean

Gets and sets the property EnableAcceleration.

Indicate whether to enable acceleration for the VPN connection.

Default: false

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.

Default: 0.0.0.0/0

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.

Default: ::/0

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 device.

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.

Default: 0.0.0.0/0

Public Property RemoteIpv6NetworkCidr System.String

Gets and sets the property RemoteIpv6NetworkCidr.

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

Default: ::/0

Public Property StaticRoutesOnly System.Boolean

Gets and sets the property StaticRoutesOnly.

Indicate whether the VPN connection uses static routes only. If you are creating a VPN connection for a device that does not support BGP, you must specify true. Use CreateVpnConnectionRoute to create a static route.

Default: false

Public Property TransportTransitGatewayAttachmentId System.String

Gets and sets the property TransportTransitGatewayAttachmentId.

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

Required if OutsideIpAddressType is set to PrivateIpv4.

Public Property TunnelInsideIpVersion Amazon.EC2.TunnelInsideIpVersion

Gets and sets the property TunnelInsideIpVersion.

Indicate whether the VPN tunnels process IPv4 or IPv6 traffic.

Default: ipv4

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

Gets and sets the property TunnelOptions.

The tunnel options for the VPN connection.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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