CmdID

CmdID / aws / aws ec2

aws ec2 unassign-private-nat-gateway-address

Unassigns secondary private IPv4 addresses from a private NAT gateway. AWS CLI reference

4 options Its page in the AWS CLI reference

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

Options

4 in the AWS CLI reference
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.
--max-drain-duration-secondsThe maximum amount of time to wait (in seconds) before forcibly releasing the IP addresses if connections are still in progress.
--nat-gateway-idThe ID of the NAT gateway.
--private-ip-addressesThe private IPv4 addresses you want to unassign.