Skip to content

/AWS1/CL_EC2=>PROVISIONIPAMPOOLCIDR()

About ProvisionIpamPoolCidr

Provision a CIDR to an IPAM pool. You can use this action to provision new CIDRs to a top-level pool or to transfer a CIDR from a top-level pool to a pool within it.

For more information, see Provision CIDRs to pools in the Amazon VPC IPAM User Guide.

Method Signature

IMPORTING

Required arguments:

IV_IPAMPOOLID TYPE /AWS1/EC2IPAMPOOLID /AWS1/EC2IPAMPOOLID

The ID of the IPAM pool to which you want to assign a CIDR.

Optional arguments:

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

IV_CIDR TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The CIDR you want to assign to the IPAM pool. Either "NetmaskLength" or "Cidr" is required. This value will be null if you specify "NetmaskLength" and will be filled in during the provisioning process.

IO_CIDRAUTHORIZATIONCONTEXT TYPE REF TO /AWS1/CL_EC2IPAMCIDRAUTHCTX /AWS1/CL_EC2IPAMCIDRAUTHCTX

A signed document that proves that you are authorized to bring a specified IP address range to Amazon using BYOIP. This option applies to public pools only.

IV_NETMASKLENGTH TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

The netmask length of the CIDR you'd like to provision to a pool. Can be used for provisioning Amazon-provided IPv6 CIDRs to top-level pools and for provisioning CIDRs to pools with source pools. Cannot be used to provision BYOIP CIDRs to top-level pools. Either "NetmaskLength" or "Cidr" is required.

IV_CLIENTTOKEN TYPE /AWS1/EC2STRING /AWS1/EC2STRING

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2PROVISIONIPAMPOO01 /AWS1/CL_EC2PROVISIONIPAMPOO01