interface AvailabilityZoneAddressProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.EC2.CfnNatGatewayPropsMixin.AvailabilityZoneAddressProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsec2#CfnNatGatewayPropsMixin_AvailabilityZoneAddressProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnNatGatewayPropsMixin.AvailabilityZoneAddressProperty |
Python | aws_cdk.cfn_property_mixins.aws_ec2.CfnNatGatewayPropsMixin.AvailabilityZoneAddressProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_ec2 » 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 { aws_ec2 as ec2 } from '@aws-cdk/cfn-property-mixins';
const availabilityZoneAddressProperty: ec2.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