Interface VpnTunnelOption
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
VpnTunnelOption.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:39.597Z")
@Stability(Stable)
public interface VpnTunnelOption
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.*; import software.amazon.awscdk.core.*; SecretValue secretValue; VpnTunnelOption vpnTunnelOption = VpnTunnelOption.builder() .preSharedKey("preSharedKey") .preSharedKeySecret(secretValue) .tunnelInsideCidr("tunnelInsideCidr") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forVpnTunnelOption
static final class
An implementation forVpnTunnelOption
-
Method Summary
Modifier and TypeMethodDescriptionstatic VpnTunnelOption.Builder
builder()
default String
Deprecated.default SecretValue
The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and customer gateway.default String
The range of inside IP addresses for the tunnel.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTunnelInsideCidr
The range of inside IP addresses for the tunnel.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
-
builder
- Returns:
- a
VpnTunnelOption.Builder
ofVpnTunnelOption
preSharedKeySecret
instead