@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.525Z") @Stability(value=Stable) public interface VpnTunnelOption extends software.amazon.jsii.JsiiSerializable
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
import software.amazon.awscdk.services.ec2.*;
SecretValue secretValue;
VpnTunnelOption vpnTunnelOption = VpnTunnelOption.builder()
.preSharedKey("preSharedKey")
.preSharedKeySecret(secretValue)
.tunnelInsideCidr("tunnelInsideCidr")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
VpnTunnelOption.Builder
A builder for
VpnTunnelOption |
static class |
VpnTunnelOption.Jsii$Proxy
An implementation for
VpnTunnelOption |
| Modifier and Type | Method and Description |
|---|---|
static VpnTunnelOption.Builder |
builder() |
default String |
getPreSharedKey()
Deprecated.
Use `preSharedKeySecret` instead
|
default SecretValue |
getPreSharedKeySecret()
The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and customer gateway.
|
default String |
getTunnelInsideCidr()
The range of inside IP addresses for the tunnel.
|
@Stability(value=Deprecated) @Deprecated @Nullable default String getPreSharedKey()
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(value=Stable) @Nullable default SecretValue getPreSharedKeySecret()
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(value=Stable) @Nullable default String getTunnelInsideCidr()
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
@Stability(value=Stable) static VpnTunnelOption.Builder builder()
VpnTunnelOption.Builder of VpnTunnelOptionCopyright © 2022. All rights reserved.