Skip to content

/AWS1/CL_EC2=>CREATEMANAGEDPREFIXLIST()

About CreateManagedPrefixList

Creates a managed prefix list. You can specify one or more entries for the prefix list. Each entry consists of a CIDR block and an optional description.

Method Signature

IMPORTING

Required arguments:

IV_PREFIXLISTNAME TYPE /AWS1/EC2STRING /AWS1/EC2STRING

A name for the prefix list.

Constraints: Up to 255 characters in length. The name cannot start with com.amazonaws.

IV_MAXENTRIES TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

The maximum number of entries for the prefix list.

IV_ADDRESSFAMILY TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The IP address type.

Valid Values: IPv4 | IPv6

Optional arguments:

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_ENTRIES TYPE /AWS1/CL_EC2ADDPREFIXLISTENTRY=>TT_ADDPREFIXLISTENTRIES TT_ADDPREFIXLISTENTRIES

One or more entries for the prefix list.

IT_TAGSPECIFICATIONS TYPE /AWS1/CL_EC2TAGSPECIFICATION=>TT_TAGSPECIFICATIONLIST TT_TAGSPECIFICATIONLIST

The tags to apply to the prefix list during creation.

IV_CLIENTTOKEN TYPE /AWS1/EC2STRING /AWS1/EC2STRING

Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.

Constraints: Up to 255 UTF-8 characters in length.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2CREMANAGEDPREFIX01 /AWS1/CL_EC2CREMANAGEDPREFIX01