Learn R Programming

paws.compute (version 0.7.0)

ec2_associate_nat_gateway_address: Associates Elastic IP addresses (EIPs) and private IPv4 addresses with a public NAT gateway

Description

Associates Elastic IP addresses (EIPs) and private IPv4 addresses with a public NAT gateway. For more information, see Work with NAT gateways in the Amazon VPC User Guide.

See https://www.paws-r-sdk.com/docs/ec2_associate_nat_gateway_address/ for full documentation.

Usage

ec2_associate_nat_gateway_address(
  NatGatewayId,
  AllocationIds,
  PrivateIpAddresses = NULL,
  DryRun = NULL
)

Arguments

NatGatewayId

[required] The ID of the NAT gateway.

AllocationIds

[required] The allocation IDs of EIPs that you want to associate with your NAT gateway.

PrivateIpAddresses

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

DryRun

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.