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.

The VPN tunnel options.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.TunnelOption

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

Syntax

C#
public class TunnelOption

The TunnelOption type exposes the following members

Constructors

NameDescription
Public Method TunnelOption()

Properties

NameTypeDescription
Public Property DpdTimeoutAction System.String

Gets and sets the property DpdTimeoutAction.

The action to take after a DPD timeout occurs.

Public Property DpdTimeoutSeconds System.Int32

Gets and sets the property DpdTimeoutSeconds.

The number of seconds after which a DPD timeout occurs.

Public Property IkeVersions System.Collections.Generic.List<Amazon.EC2.Model.IKEVersionsListValue>

Gets and sets the property IkeVersions.

The IKE versions that are permitted for the VPN tunnel.

Public Property OutsideIpAddress System.String

Gets and sets the property OutsideIpAddress.

The external IP address of the VPN tunnel.

Public Property Phase1DHGroupNumbers System.Collections.Generic.List<Amazon.EC2.Model.Phase1DHGroupNumbersListValue>

Gets and sets the property Phase1DHGroupNumbers.

The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 1 IKE negotiations.

Public Property Phase1EncryptionAlgorithms System.Collections.Generic.List<Amazon.EC2.Model.Phase1EncryptionAlgorithmsListValue>

Gets and sets the property Phase1EncryptionAlgorithms.

The permitted encryption algorithms for the VPN tunnel for phase 1 IKE negotiations.

Public Property Phase1IntegrityAlgorithms System.Collections.Generic.List<Amazon.EC2.Model.Phase1IntegrityAlgorithmsListValue>

Gets and sets the property Phase1IntegrityAlgorithms.

The permitted integrity algorithms for the VPN tunnel for phase 1 IKE negotiations.

Public Property Phase1LifetimeSeconds System.Int32

Gets and sets the property Phase1LifetimeSeconds.

The lifetime for phase 1 of the IKE negotiation, in seconds.

Public Property Phase2DHGroupNumbers System.Collections.Generic.List<Amazon.EC2.Model.Phase2DHGroupNumbersListValue>

Gets and sets the property Phase2DHGroupNumbers.

The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 2 IKE negotiations.

Public Property Phase2EncryptionAlgorithms System.Collections.Generic.List<Amazon.EC2.Model.Phase2EncryptionAlgorithmsListValue>

Gets and sets the property Phase2EncryptionAlgorithms.

The permitted encryption algorithms for the VPN tunnel for phase 2 IKE negotiations.

Public Property Phase2IntegrityAlgorithms System.Collections.Generic.List<Amazon.EC2.Model.Phase2IntegrityAlgorithmsListValue>

Gets and sets the property Phase2IntegrityAlgorithms.

The permitted integrity algorithms for the VPN tunnel for phase 2 IKE negotiations.

Public Property Phase2LifetimeSeconds System.Int32

Gets and sets the property Phase2LifetimeSeconds.

The lifetime for phase 2 of the IKE negotiation, in seconds.

Public Property PreSharedKey System.String

Gets and sets the property PreSharedKey.

The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and the customer gateway.

Public Property RekeyFuzzPercentage System.Int32

Gets and sets the property RekeyFuzzPercentage.

The percentage of the rekey window determined by RekeyMarginTimeSeconds during which the rekey time is randomly selected.

Public Property RekeyMarginTimeSeconds System.Int32

Gets and sets the property RekeyMarginTimeSeconds.

The margin time, in seconds, before the phase 2 lifetime expires, during which the Amazon Web Services side of the VPN connection performs an IKE rekey.

Public Property ReplayWindowSize System.Int32

Gets and sets the property ReplayWindowSize.

The number of packets in an IKE replay window.

Public Property StartupAction System.String

Gets and sets the property StartupAction.

The action to take when the establishing the VPN tunnels for a VPN connection.

Public Property TunnelInsideCidr System.String

Gets and sets the property TunnelInsideCidr.

The range of inside IPv4 addresses for the tunnel.

Public Property TunnelInsideIpv6Cidr System.String

Gets and sets the property TunnelInsideIpv6Cidr.

The range of inside IPv6 addresses for the tunnel.

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