Interface GatewayNetworkDefineProps

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

@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)", date="2026-07-31T10:49:55.170Z") @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