Allocate a CIDR from an IPAM pool. In IPAM, an allocation is a CIDR assignment from an IPAM pool to another IPAM pool or to a resource. For more information, see Allocate CIDRs in the Amazon VPC IPAM User Guide.
example
Use a bare-bones client and the command you need to make an API call.
Allocate a CIDR from an IPAM pool. In IPAM, an allocation is a CIDR assignment from an IPAM pool to another IPAM pool or to a resource. For more information, see Allocate CIDRs in the Amazon VPC IPAM User Guide.
Use a bare-bones client and the command you need to make an API call.
import { EC2Client, AllocateIpamPoolCidrCommand } from "@aws-sdk/client-ec2"; // ES Modules import // const { EC2Client, AllocateIpamPoolCidrCommand } = require("@aws-sdk/client-ec2"); // CommonJS import const client = new EC2Client(config); const command = new AllocateIpamPoolCidrCommand(input); const response = await client.send(command);
AllocateIpamPoolCidrCommandInput for command's
input
shape.AllocateIpamPoolCidrCommandOutput for command's
response
shape.config for EC2Client's
config
shape.