aws ec2 describe-addresses
Describes the specified Elastic IP addresses or all of your Elastic IP addresses. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--allocation-idsInformation about the allocation IDs.--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--filtersOne or more filters.--public-ipsOne or more Elastic IP addresses.