v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-171,1822,9897.4 MB

Assigns one or more private IPv4 addresses to a private NAT gateway. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-working-with">Work with NAT gateways</a> in the <i>Amazon Virtual Private Cloud User Guide</i>.

get/#Action=AssignPrivateNatGatewayAddress

Query parameters

NatGatewayIdstring required

The NAT gateway ID.

PrivateIpAddressstring[]

The private IPv4 addresses you want to assign to the private NAT gateway.

PrivateIpAddressCountinteger

The number of private IP addresses to assign to the NAT gateway. You can't specify this parameter when also specifying private IP addresses.

DryRunboolean

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.

Action'AssignPrivateNatGatewayAddress' required
Version'2016-11-15' required

Response

Success