Class CfnVPNConnection.VpnTunnelOptionsSpecificationProperty
The tunnel options for a single VPN tunnel.
Inheritance
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class VpnTunnelOptionsSpecificationProperty : Object, CfnVPNConnection.IVpnTunnelOptionsSpecificationProperty
Syntax (vb)
Public Class VpnTunnelOptionsSpecificationProperty
Inherits Object
Implements CfnVPNConnection.IVpnTunnelOptionsSpecificationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var vpnTunnelOptionsSpecificationProperty = new VpnTunnelOptionsSpecificationProperty {
PreSharedKey = "preSharedKey",
TunnelInsideCidr = "tunnelInsideCidr"
};
Synopsis
Constructors
VpnTunnelOptionsSpecificationProperty() |
Properties
PreSharedKey | The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and customer gateway. |
TunnelInsideCidr | The range of inside IP addresses for the tunnel. |
Constructors
VpnTunnelOptionsSpecificationProperty()
public VpnTunnelOptionsSpecificationProperty()
Properties
PreSharedKey
The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and customer gateway.
public string PreSharedKey { get; set; }
Property Value
System.String
Remarks
Constraints: Allowed characters are alphanumeric characters, periods (.), and underscores (_). Must be between 8 and 64 characters in length and cannot start with zero (0).
TunnelInsideCidr
The range of inside IP addresses for the tunnel.
public string TunnelInsideCidr { get; set; }
Property Value
System.String
Remarks
Any specified CIDR blocks must be unique across all VPN connections that use the same virtual private gateway.
Constraints: A size /30 CIDR block from the 169.254.0.0/16
range. The following CIDR blocks are reserved and cannot be used: