Interface IVpnTunnelOption
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IVpnTunnelOption
Syntax (vb)
Public Interface IVpnTunnelOption
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;
using Amazon.CDK.AWS.EC2;
SecretValue secretValue;
var vpnTunnelOption = new VpnTunnelOption {
PreSharedKey = "preSharedKey",
PreSharedKeySecret = secretValue,
TunnelInsideCidr = "tunnelInsideCidr"
};
Synopsis
Properties
PreSharedKey | (deprecated) The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and customer gateway. |
PreSharedKeySecret | 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
(deprecated) 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
Allowed characters are
alphanumeric characters period .
and underscores _
. Must be between 8
and 64 characters in length and cannot start with zero (0).
Default: an Amazon generated pre-shared key
Stability: Deprecated
PreSharedKeySecret
The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and customer gateway.
virtual SecretValue PreSharedKeySecret { get; }
Property Value
Remarks
Allowed characters are
alphanumeric characters period .
and underscores _
. Must be between 8
and 64 characters in length and cannot start with zero (0).
Default: an Amazon generated pre-shared key
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. A size /30 CIDR block from the 169.254.0.0/16 range.
Default: an Amazon generated inside IP CIDR