interface NatGatewayProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EC2.NatGatewayProps |
Java | software.amazon.awscdk.services.ec2.NatGatewayProps |
Python | aws_cdk.aws_ec2.NatGatewayProps |
TypeScript (source) | @aws-cdk/aws-ec2 » NatGatewayProps |
Properties for a NAT gateway.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as ec2 from '@aws-cdk/aws-ec2';
const natGatewayProps: ec2.NatGatewayProps = {
eipAllocationIds: ['eipAllocationIds'],
};
Properties
Name | Type | Description |
---|---|---|
eip | string[] | EIP allocation IDs for the NAT gateways. |
eipAllocationIds?
Type:
string[]
(optional, default: No fixed EIPs allocated for the NAT gateways)
EIP allocation IDs for the NAT gateways.