Assign Private Nat Gateway Address
| ec2_assign_private_nat_gateway_address | R Documentation |
Assigns private IPv4 addresses to a private NAT gateway¶
Description¶
Assigns private IPv4 addresses to a private NAT gateway. For more information, see Work with NAT gateways in the Amazon VPC User Guide.
Usage¶
ec2_assign_private_nat_gateway_address(NatGatewayId, PrivateIpAddresses,
PrivateIpAddressCount, DryRun)
Arguments¶
NatGatewayId[required] The ID of the NAT gateway.
PrivateIpAddressesThe private IPv4 addresses you want to assign to the private NAT gateway.
PrivateIpAddressCountThe number of private IP addresses to assign to the NAT gateway. You can't specify this parameter when also specifying private IP addresses.
DryRunChecks 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 isUnauthorizedOperation.
Value¶
A list with the following syntax:
list(
NatGatewayId = "string",
NatGatewayAddresses = list(
list(
AllocationId = "string",
NetworkInterfaceId = "string",
PrivateIp = "string",
PublicIp = "string",
AssociationId = "string",
IsPrimary = TRUE|FALSE,
FailureMessage = "string",
Status = "assigning"|"unassigning"|"associating"|"disassociating"|"succeeded"|"failed"
)
)
)