interface AvailabilityZoneAddressProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnNatGatewayPropsMixin.AvailabilityZoneAddressProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnNatGatewayPropsMixin_AvailabilityZoneAddressProperty |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnNatGatewayPropsMixin.AvailabilityZoneAddressProperty |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnNatGatewayPropsMixin.AvailabilityZoneAddressProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » CfnNatGatewayPropsMixin » AvailabilityZoneAddressProperty |
For regional NAT gateways only: The configuration specifying which Elastic IP address (EIP) to use for handling outbound NAT traffic from a specific Availability Zone.
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 { mixins as ec2_mixins } from '@aws-cdk/mixins-preview/aws-ec2';
const availabilityZoneAddressProperty: ec2_mixins.CfnNatGatewayPropsMixin.AvailabilityZoneAddressProperty = {
allocationIds: ['allocationIds'],
availabilityZone: 'availabilityZone',
availabilityZoneId: 'availabilityZoneId',
};
Properties
| Name | Type | Description |
|---|---|---|
| allocation | string[] | The allocation IDs of the Elastic IP addresses (EIPs) to be used for handling outbound NAT traffic in this specific Availability Zone. |
| availability | string | For regional NAT gateways only: The Availability Zone where this specific NAT gateway configuration will be active. |
| availability | string | For regional NAT gateways only: The ID of the Availability Zone where this specific NAT gateway configuration will be active. |
allocationIds?
Type:
string[]
(optional)
The allocation IDs of the Elastic IP addresses (EIPs) to be used for handling outbound NAT traffic in this specific Availability Zone.
availabilityZone?
Type:
string
(optional)
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.
availabilityZoneId?
Type:
string
(optional)
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.

.NET
Go
Java
Python
TypeScript