aws ec2 disable-address-transfer
Disables Elastic IP address transfer. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To disable an Elastic IP address transfer
The following disable-address-transfer example disables Elastic IP address transfer for the specified Elastic IP address.
aws ec2 disable-address-transfer --allocation-id eipalloc-09ad461b0d03f6aafIdentify--allocation-idThe allocation ID of an Elastic IP address.Its output
{
"AddressTransfer": {
"PublicIp": "100.21.184.216",
"AllocationId": "eipalloc-09ad461b0d03f6aaf",
"AddressTransferStatus": "disabled"
}
}For more information, see Transfer Elastic IP addresses in the Amazon VPC User Guide.
Options
--allocation-idThe allocation ID of an Elastic IP address.--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.