CmdID

CmdID / aws / aws ec2

aws ec2 deprovision-ipam-pool-cidr

Deprovision a CIDR provisioned from an IPAM pool. AWS CLI reference

1 example 3 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To deprovision an IPAM pool CIDR

The following deprovision-ipam-pool-cidr example deprovisions a CIDR provisioned to an IPAM pool.

The following command is for Linux.

aws ec2 deprovision-ipam-pool-cidr --ipam-pool-id ipam-pool-02ec043a19bbe5d08 --cidr 11.0.0.0/16Identify
--ipam-pool-idThe ID of the pool that has the CIDR you want to deprovision.
--cidrThe CIDR which you want to deprovision from the pool.

The following command is for Windows.

aws ec2 deprovision-ipam-pool-cidr ^Identify
--ipam-pool-id ipam-pool-02ec043a19bbe5d08 ^
--cidr 11.0.0.0/16
Its output
{
    "IpamPoolCidr": {
        "Cidr": "11.0.0.0/16",
        "State": "pending-deprovision"
    }
}

For more information, see Deprovision pool CIDRs in the Amazon VPC IPAM User Guide.

Options

3 in the AWS CLI reference
--cidrThe CIDR which you want to deprovision from the pool.
--dry-runA check for whether you have the required permissions for the action without actually making the request and provides an error response.
--ipam-pool-idThe ID of the pool that has the CIDR you want to deprovision.