Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ModifyIpamResourceCidrCommand

Modify a resource CIDR. You can use this action to transfer resource CIDRs between scopes and ignore resource CIDRs that you do not want to manage. If set to false, the resource will not be tracked for overlap, it cannot be auto-imported into a pool, and it will be removed from any pool it has an allocation in.

For more information, see Move resource CIDRs between scopes and Change the monitoring state of resource CIDRs in the Amazon VPC IPAM User Guide.

example

Use a bare-bones client and the command you need to make an API call.

import { EC2Client, ModifyIpamResourceCidrCommand } from "@aws-sdk/client-ec2"; // ES Modules import
// const { EC2Client, ModifyIpamResourceCidrCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
const client = new EC2Client(config);
const command = new ModifyIpamResourceCidrCommand(input);
const response = await client.send(command);
see

ModifyIpamResourceCidrCommandInput for command's input shape.

see

ModifyIpamResourceCidrCommandOutput for command's response shape.

see

config for EC2Client's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: ModifyIpamResourceCidrCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions