Allocates an Elastic IP address to your Amazon Web Services account. After you allocate the Elastic IP address you can associate it with an instance or network interface. After you release an Elastic IP address, it is released to the IP address pool and can be allocated to a different Amazon Web Services account.
See https://www.paws-r-sdk.com/docs/ec2_allocate_address/ for full documentation.
ec2_allocate_address(
Domain = NULL,
Address = NULL,
PublicIpv4Pool = NULL,
NetworkBorderGroup = NULL,
CustomerOwnedIpv4Pool = NULL,
DryRun = NULL,
TagSpecifications = NULL,
IpamPoolId = NULL
)
The network (vpc
).
The Elastic IP address to recover or an IPv4 address from an address pool.
The ID of an address pool that you own. Use this parameter to let Amazon
EC2 select an address from the address pool. To specify a specific
address from the address pool, use the Address
parameter instead.
A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses. Use this parameter to limit the IP address to this location. IP addresses cannot move between network border groups.
The ID of a customer-owned address pool. Use this parameter to let Amazon EC2 select an address from the address pool. Alternatively, specify a specific address from the address pool.
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
.
The tags to assign to the Elastic IP address.
The ID of an IPAM pool.