Skip to content

/AWS1/CL_EC2=>ASSIGNPVTNATGATEWAYADDRESS()

About AssignPrivateNatGatewayAddress

Assigns one or more private IPv4 addresses to a private NAT gateway. For more information, see Work with NAT gateways in the Amazon VPC User Guide.

Method Signature

IMPORTING

Required arguments:

IV_NATGATEWAYID TYPE /AWS1/EC2NATGATEWAYID /AWS1/EC2NATGATEWAYID

The ID of the NAT gateway.

Optional arguments:

IT_PRIVATEIPADDRESSES TYPE /AWS1/CL_EC2IPLIST_W=>TT_IPLIST TT_IPLIST

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

IV_PRIVATEIPADDRESSCOUNT TYPE /AWS1/EC2PRIVATEIPADDRESSCOUNT /AWS1/EC2PRIVATEIPADDRESSCOUNT

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

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

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 DryRunOperation. Otherwise, it is UnauthorizedOperation.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2ASSIGNPVTNATGWAD01 /AWS1/CL_EC2ASSIGNPVTNATGWAD01