Interface SecondaryAddressProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
Ipv6PoolSecondaryAddressProps
- All Known Implementing Classes:
Ipv6PoolSecondaryAddressProps.Jsii$Proxy,SecondaryAddressProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-10-14T12:28:23.245Z")
@Stability(Experimental)
public interface SecondaryAddressProps
extends software.amazon.jsii.JsiiSerializable
(experimental) Additional props needed for secondary Address.
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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forSecondaryAddressPropsstatic final classAn implementation forSecondaryAddressProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()(experimental) Required to set Secondary cidr block resource name in order to generate unique logical id for the resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCidrBlockName
(experimental) Required to set Secondary cidr block resource name in order to generate unique logical id for the resource. -
builder
- Returns:
- a
SecondaryAddressProps.BuilderofSecondaryAddressProps
-