Interface GatewayNetworkDefineProps

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

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-08-19T15:41:43.745Z") @Stability(Experimental) public interface GatewayNetworkDefineProps extends software.amazon.jsii.JsiiSerializable
(experimental) Properties for defining a Gateway network.

Example:

 Stack stack;
 GatewayNetwork productionNetwork = GatewayNetwork.define(GatewayNetworkDefineProps.builder()
         .cidrBlock("192.168.1.0/24")
         .name("production-network")
         .build());
 Gateway gateway = Gateway.Builder.create(stack, "MyGateway")
         .gatewayName("my-gateway")
         .egressCidrBlocks(List.of("10.0.0.0/16"))
         .networks(List.of(productionNetwork))
         .build();
 
  • Method Details

    • getCidrBlock

      @Stability(Experimental) @NotNull String getCidrBlock()
      (experimental) A unique IP address range to use for this network.

      Must be in CIDR notation (for example, 10.0.0.0/16).

    • getName

      @Stability(Experimental) @NotNull String getName()
      (experimental) The name of the network.

      Used to reference this network from bridge sources and outputs, and must be unique among the networks on the gateway.

      Maximum 64 characters; alphanumeric, hyphens, and underscores only.

    • builder

      @Stability(Experimental) static GatewayNetworkDefineProps.Builder builder()
      Returns:
      a GatewayNetworkDefineProps.Builder of GatewayNetworkDefineProps