Interface VpnTunnelOption

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
VpnTunnelOption.Jsii$Proxy

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-22T02:24:00.798Z") @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.*;
 import software.amazon.awscdk.services.ec2.*;
 SecretValue secretValue;
 VpnTunnelOption vpnTunnelOption = VpnTunnelOption.builder()
         .preSharedKey("preSharedKey")
         .preSharedKeySecret(secretValue)
         .tunnelInsideCidr("tunnelInsideCidr")
         .build();
 
  • Method Details

    • getPreSharedKey

      @Stability(Deprecated) @Deprecated @Nullable default String getPreSharedKey()
      Deprecated.
      Use preSharedKeySecret instead
      (deprecated) The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and customer gateway.

      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

    • getPreSharedKeySecret

      @Stability(Stable) @Nullable default SecretValue getPreSharedKeySecret()
      The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and customer gateway.

      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

    • getTunnelInsideCidr

      @Stability(Stable) @Nullable default String 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

      @Stability(Stable) static VpnTunnelOption.Builder builder()
      Returns:
      a VpnTunnelOption.Builder of VpnTunnelOption