Interface CfnVPNConnection.IVpnTunnelOptionsSpecificationProperty
The tunnel options for a single VPN tunnel.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public interface IVpnTunnelOptionsSpecificationProperty
Syntax (vb)
Public Interface 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
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. |
Properties
PreSharedKey
The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and customer gateway.
virtual string PreSharedKey { get; }
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.
virtual string TunnelInsideCidr { get; }
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: