Interface CfnNatGateway.AvailabilityZoneAddressProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnNatGateway.AvailabilityZoneAddressProperty.Jsii$Proxy
- Enclosing class:
CfnNatGateway
A regional NAT gateway is a single NAT Gateway that works across multiple availability zones (AZs) in your VPC, providing redundancy, scalability and availability across all the AZs in a Region.
For more information, see Regional NAT gateways for automatic multi-AZ expansion in the Amazon VPC User Guide .
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.*;
AvailabilityZoneAddressProperty availabilityZoneAddressProperty = AvailabilityZoneAddressProperty.builder()
.allocationIds(List.of("allocationIds"))
// the properties below are optional
.availabilityZone("availabilityZone")
.availabilityZoneId("availabilityZoneId")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnNatGateway.AvailabilityZoneAddressPropertystatic final classAn implementation forCfnNatGateway.AvailabilityZoneAddressProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The allocation IDs of the Elastic IP addresses (EIPs) to be used for handling outbound NAT traffic in this specific Availability Zone.default StringFor regional NAT gateways only: The Availability Zone where this specific NAT gateway configuration will be active.default StringFor regional NAT gateways only: The 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 (EIPs) to be used for handling outbound NAT traffic in this specific Availability Zone.- See Also:
-
getAvailabilityZone
For regional NAT gateways only: The Availability Zone where this specific NAT gateway configuration will be active.Each AZ in a regional NAT gateway has its own configuration to handle outbound NAT traffic from that AZ.
A regional NAT gateway is a single NAT Gateway that works across multiple availability zones (AZs) in your VPC, providing redundancy, scalability and availability across all the AZs in a Region.
- See Also:
-
getAvailabilityZoneId
For regional NAT gateways only: The ID of the Availability Zone where this specific NAT gateway configuration will be active.Each AZ in a regional NAT gateway has its own configuration to handle outbound NAT traffic from that AZ. Use this instead of AvailabilityZone for consistent identification of AZs across AWS Regions.
A regional NAT gateway is a single NAT Gateway that works across multiple availability zones (AZs) in your VPC, providing redundancy, scalability and availability across all the AZs in a Region.
- See Also:
-
builder
-