Skip to content

/AWS1/CL_EC2=>CREATESUBNETCIDRRESERVATION()

About CreateSubnetCidrReservation

Creates a subnet CIDR reservation. For more information, see Subnet CIDR reservations in the Amazon VPC User Guide and Manage prefixes for your network interfaces in the Amazon EC2 User Guide.

Method Signature

IMPORTING

Required arguments:

IV_SUBNETID TYPE /AWS1/EC2SUBNETID /AWS1/EC2SUBNETID

The ID of the subnet.

IV_CIDR TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The IPv4 or IPV6 CIDR range to reserve.

IV_RESERVATIONTYPE TYPE /AWS1/EC2SNETCIDRRESERVATION00 /AWS1/EC2SNETCIDRRESERVATION00

The type of reservation. The reservation type determines how the reserved IP addresses are assigned to resources.

  • prefix - Amazon Web Services assigns the reserved IP addresses to network interfaces.

  • explicit - You assign the reserved IP addresses to network interfaces.

Optional arguments:

IV_DESCRIPTION TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The description to assign to the subnet CIDR reservation.

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

Checks 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.

IT_TAGSPECIFICATIONS TYPE /AWS1/CL_EC2TAGSPECIFICATION=>TT_TAGSPECIFICATIONLIST TT_TAGSPECIFICATIONLIST

The tags to assign to the subnet CIDR reservation.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2CRESNETCIDRRESER01 /AWS1/CL_EC2CRESNETCIDRRESER01