Interface AvailabilityZoneAddress
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AvailabilityZoneAddress.Jsii$Proxy
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-09-30T11:04:49.812Z")
@Stability(Stable)
public interface AvailabilityZoneAddress
extends software.amazon.jsii.JsiiSerializable
Configuration for a specific Availability Zone in a Regional NAT Gateway.
This is used to manually specify which EIPs to use in each AZ.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;
AvailabilityZoneAddress availabilityZoneAddress = AvailabilityZoneAddress.builder()
.allocationIds(List.of("allocationIds"))
// the properties below are optional
.availabilityZone("availabilityZone")
.availabilityZoneId("availabilityZoneId")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAvailabilityZoneAddressstatic final classAn implementation forAvailabilityZoneAddress -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The allocation IDs of the Elastic IP addresses to be used for handling outbound NAT traffic in this specific Availability Zone.default StringThe Availability Zone where this specific NAT gateway configuration will be active.default StringThe ID of the Availability Zone where this specific NAT gateway configuration will be active.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAllocationIds
The allocation IDs of the Elastic IP addresses to be used for handling outbound NAT traffic in this specific Availability Zone. -
getAvailabilityZone
The Availability Zone where this specific NAT gateway configuration will be active.Either
availabilityZoneoravailabilityZoneIdmust be specified.Default: - Use availabilityZoneId instead
-
getAvailabilityZoneId
The ID of the Availability Zone where this specific NAT gateway configuration will be active.Either
availabilityZoneoravailabilityZoneIdmust be specified.Default: - Use availabilityZone instead
-
builder
- Returns:
- a
AvailabilityZoneAddress.BuilderofAvailabilityZoneAddress
-