aws ec2 allocate-address
Allocates an Elastic IP address to your Amazon Web Services account. AWS CLI reference
8 options Its page in the AWS CLI reference
Options
--addressThe Elastic IP address to recover or an IPv4 address from an address pool.--customer-owned-ipv4-poolThe ID of a customer-owned address pool.--domainThe network (vpc).--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--ipam-pool-idThe ID of an IPAM pool which has an Amazon-provided or BYOIP public IPv4 CIDR provisioned to it.--network-border-groupA unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.--public-ipv4-poolThe ID of an address pool that you own.--tag-specificationsThe tags to assign to the Elastic IP address.