@Stability(value=Stable)
public static interface CfnVPNConnection.VpnTunnelOptionsSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;
VpnTunnelOptionsSpecificationProperty vpnTunnelOptionsSpecificationProperty = VpnTunnelOptionsSpecificationProperty.builder()
.preSharedKey("preSharedKey")
.tunnelInsideCidr("tunnelInsideCidr")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnVPNConnection.VpnTunnelOptionsSpecificationProperty.Builder
A builder for
CfnVPNConnection.VpnTunnelOptionsSpecificationProperty |
static class |
CfnVPNConnection.VpnTunnelOptionsSpecificationProperty.Jsii$Proxy
An implementation for
CfnVPNConnection.VpnTunnelOptionsSpecificationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnVPNConnection.VpnTunnelOptionsSpecificationProperty.Builder |
builder() |
default String |
getPreSharedKey()
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=Stable) @Nullable default String getPreSharedKey()
Constraints: Allowed characters are alphanumeric characters, periods (.), and underscores (_). Must be between 8 and 64 characters in length and cannot start with zero (0).
@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.
Constraints: A size /30 CIDR block from the 169.254.0.0/16 range. The following CIDR blocks are reserved and cannot be used:
169.254.0.0/30169.254.1.0/30169.254.2.0/30169.254.3.0/30169.254.4.0/30169.254.5.0/30169.254.169.252/30@Stability(value=Stable) static CfnVPNConnection.VpnTunnelOptionsSpecificationProperty.Builder builder()
Copyright © 2022. All rights reserved.