CmdID

CmdID / aws / aws ec2

aws ec2 create-nat-gateway

Creates a NAT gateway in the specified subnet. AWS CLI reference

13 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

13 in the AWS CLI reference
--allocation-id[Public NAT gateways only] The allocation ID of an Elastic IP address to associate with the NAT gateway.
--availability-modeSpecifies whether to create a zonal (single-AZ) or regional (multi-AZ) NAT gateway.
--availability-zone-addressesFor regional NAT gateways only: Specifies which Availability Zones you want the NAT gateway to support and the Elastic IP addresses (EIPs) to use in each AZ.
--client-tokenUnique, case-sensitive identifier that you provide to ensure the idempotency of the request.
--connectivity-typeIndicates whether the NAT gateway supports public or private connectivity.
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.
--private-ip-addressThe private IPv4 address to assign to the NAT gateway.
--secondary-allocation-idsSecondary EIP allocation IDs.
--secondary-private-ip-address-count[Private NAT gateway only] The number of secondary private IPv4 addresses you want to assign to the NAT gateway.
--secondary-private-ip-addressesSecondary private IPv4 addresses.
--subnet-idThe ID of the subnet in which to create the NAT gateway.
--tag-specificationsThe tags to assign to the NAT gateway.
--vpc-idThe ID of the VPC where you want to create a regional NAT gateway.