aws ec2 associate-nat-gateway-address
Associates Elastic IP addresses (EIPs) and private IPv4 addresses with a public NAT gateway. AWS CLI reference
6 options Its page in the AWS CLI reference
Options
--allocation-idsThe allocation IDs of EIPs that you want to associate with your NAT gateway.--availability-zone-idFor regional NAT gateways only: The ID of the Availability Zone where you want to associate an Elastic IP address (EIP).--availability-zoneFor regional NAT gateways only: The Availability Zone where you want to associate an Elastic IP address (EIP).--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--nat-gateway-idThe ID of the NAT gateway.--private-ip-addressesThe private IPv4 addresses that you want to assign to the NAT gateway.