Interface VpnConnectionOptions

All Superinterfaces:
All Known Subinterfaces:
All Known Implementing Classes:
VpnConnectionOptions.Jsii$Proxy, VpnConnectionProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:39.593Z") @Stability(Stable) public interface VpnConnectionOptions extends

 Vpc vpc = Vpc.Builder.create(this, "MyVpc")
                 "dynamic", VpnConnectionOptions.builder() // Dynamic routing (BGP)
                 "static", VpnConnectionOptions.builder() // Static routing
                         .staticRoutes(List.of("", "")).build()))
  • Method Details

    • getIp

      @Stability(Stable) @NotNull String getIp()
      The ip address of the customer gateway.
    • getAsn

      @Stability(Stable) @Nullable default Number getAsn()
      The ASN of the customer gateway.

      Default: 65000

    • getStaticRoutes

      @Stability(Stable) @Nullable default List<String> getStaticRoutes()
      The static routes to be routed from the VPN gateway to the customer gateway.

      Default: Dynamic routing (BGP)

    • getTunnelOptions

      @Stability(Stable) @Nullable default List<VpnTunnelOption> getTunnelOptions()
      The tunnel options for the VPN connection.

      At most two elements (one per tunnel). Duplicates not allowed.

      Default: Amazon generated tunnel options

    • builder

      @Stability(Stable) static VpnConnectionOptions.Builder builder()
      a VpnConnectionOptions.Builder of VpnConnectionOptions