CmdID

CmdID / aws / aws ec2

aws ec2 modify-ipam

Modify the configurations of an IPAM. AWS CLI reference

1 example 8 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 modify an IPAM

The following modify-ipam example modifies an IPAM by adding an Operating Region.

For Linux, use the following command.

aws ec2 modify-ipam --ipam-id ipam-08440e7a3acde3908 --add-operating-regions RegionName=us-west-2Identify
--ipam-idThe ID of the IPAM you want to modify.
--add-operating-regionsChoose the operating Regions for the IPAM.

For Windows, use the following command.

aws ec2 modify-ipam ^Identify
--ipam-id ipam-08440e7a3acde3908 ^
--add-operating-regions RegionName=us-west-2
Its output
{
    "Ipam": {
        "OwnerId": "123456789012",
        "IpamId": "ipam-08440e7a3acde3908",
        "IpamArn": "arn:aws:ec2::123456789012:ipam/ipam-08440e7a3acde3908",
        "IpamRegion": "us-east-1",
        "PublicDefaultScopeId": "ipam-scope-0b9eed026396dbc16",
        "PrivateDefaultScopeId": "ipam-scope-02fc38cd4c48e7d38",
        "ScopeCount": 3,
        "OperatingRegions": [
            {
                "RegionName": "us-east-1"
            },
            {
                "RegionName": "us-east-2"
            },
            {
                "RegionName": "us-west-1"
            },
            {
                "RegionName": "us-west-2"
            }
        ],
        "State": "modify-in-progress"
    }
}

For more information, see Modify IPAM operating Regions in the Amazon VPC IPAM User Guide.

Options

8 in the AWS CLI reference
--add-operating-regionsChoose the operating Regions for the IPAM.
--descriptionThe description of the IPAM you want to modify.
--dry-runA check for whether you have the required permissions for the action without actually making the request and provides an error response.
--enable-private-guaEnable this option to use your own GUA ranges as private IPv6 addresses.
--ipam-idThe ID of the IPAM you want to modify.
--metered-accountA metered account is an Amazon Web Services account that is charged for active IP addresses managed in IPAM.
--remove-operating-regionsThe operating Regions to remove.
--tierIPAM is offered in a Free Tier and an Advanced Tier.