Skip to content

/AWS1/CL_EC2=>MODIFYIPAMRESOURCECIDR()

About ModifyIpamResourceCidr

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.

Method Signature

IMPORTING

Required arguments:

IV_RESOURCEID TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The ID of the resource you want to modify.

IV_RESOURCECIDR TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The CIDR of the resource you want to modify.

IV_RESOURCEREGION TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The Amazon Web Services Region of the resource you want to modify.

IV_CURRENTIPAMSCOPEID TYPE /AWS1/EC2IPAMSCOPEID /AWS1/EC2IPAMSCOPEID

The ID of the current scope that the resource CIDR is in.

IV_MONITORED TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

Determines if the resource is monitored by IPAM. If a resource is monitored, the resource is discovered by IPAM and you can view details about the resource’s 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_DESTINATIONIPAMSCOPEID TYPE /AWS1/EC2IPAMSCOPEID /AWS1/EC2IPAMSCOPEID

The ID of the scope you want to transfer the resource CIDR to.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2MODIPAMRESRCCIDRRS /AWS1/CL_EC2MODIPAMRESRCCIDRRS