Interface EgressOnlyInternetGatewayProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
EgressOnlyInternetGatewayProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-13T21:17:43.019Z")
@Stability(Experimental)
public interface EgressOnlyInternetGatewayProps
extends software.amazon.jsii.JsiiSerializable
(experimental) Properties to define an egress-only internet gateway.
Example:
Stack stack = new Stack(); VpcV2 myVpc = VpcV2.Builder.create(this, "Vpc") .primaryAddressBlock(IpAddresses.ipv4("10.1.0.0/16")) .secondaryAddressBlocks(List.of(IpAddresses.amazonProvidedIpv6(SecondaryAddressProps.builder() .cidrBlockName("AmazonProvided") .build()))) .build(); EgressOnlyInternetGateway eigw = EgressOnlyInternetGateway.Builder.create(this, "EIGW") .vpc(myVpc) .build(); RouteTable routeTable = RouteTable.Builder.create(this, "RouteTable") .vpc(myVpc) .build(); routeTable.addRoute("EIGW", "::/0", Map.of("gateway", eigw));
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forEgressOnlyInternetGatewayProps
static final class
An implementation forEgressOnlyInternetGatewayProps
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getVpc
(experimental) The ID of the VPC for which to create the egress-only internet gateway. -
getEgressOnlyInternetGatewayName
(experimental) The resource name of the egress-only internet gateway.Default: - provisioned without a resource name
-
builder
-