CmdID

CmdID / aws / aws ec2

aws ec2 delete-ipam

Delete an IPAM. 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 delete an IPAM

The following delete-ipam example deletes an IPAM.

aws ec2 delete-ipam --ipam-id ipam-036486dfa6af58ee0Identify
--ipam-idThe ID of the IPAM to delete.
Its output
{
    "Ipam": {
        "OwnerId": "123456789012",
        "IpamId": "ipam-036486dfa6af58ee0",
        "IpamArn": "arn:aws:ec2::123456789012:ipam/ipam-036486dfa6af58ee0",
        "IpamRegion": "us-west-2",
        "PublicDefaultScopeId": "ipam-scope-071b8042b0195c183",
        "PrivateDefaultScopeId": "ipam-scope-0807405dece705a30",
        "ScopeCount": 2,
        "OperatingRegions": [
            {
                "RegionName": "us-west-2"
            }
        ],
        "State": "delete-in-progress"
    }
}

For more information, see Delete an IPAM in the Amazon VPC IPAM User Guide.

Options

3 in the AWS CLI reference
--cascadeEnables you to quickly delete an IPAM, private scopes, pools in private scopes, and any allocations in the pools in private scopes.
--dry-runA check for whether you have the required permissions for the action without actually making the request and provides an error response.
--ipam-idThe ID of the IPAM to delete.