Skip to content

/AWS1/CL_LIC=>CREATELICENSECONFIGURATION()

About CreateLicenseConfiguration

Creates a license configuration.

A license configuration is an abstraction of a customer license agreement that can be consumed and enforced by License Manager. Components include specifications for the license type (licensing by instance, socket, CPU, or vCPU), allowed tenancy (shared tenancy, Dedicated Instance, Dedicated Host, or all of these), license affinity to host (how long a license must be associated with a host), and the number of licenses purchased and used.

Method Signature

IMPORTING

Required arguments:

IV_NAME TYPE /AWS1/LICSTRING /AWS1/LICSTRING

Name of the license configuration.

IV_LICENSECOUNTINGTYPE TYPE /AWS1/LICLICENSECOUNTINGTYPE /AWS1/LICLICENSECOUNTINGTYPE

Dimension used to track the license inventory.

Optional arguments:

IV_DESCRIPTION TYPE /AWS1/LICSTRING /AWS1/LICSTRING

Description of the license configuration.

IV_LICENSECOUNT TYPE /AWS1/LICBOXLONG /AWS1/LICBOXLONG

Number of licenses managed by the license configuration.

IV_LICENSECOUNTHARDLIMIT TYPE /AWS1/LICBOXBOOLEAN /AWS1/LICBOXBOOLEAN

Indicates whether hard or soft license enforcement is used. Exceeding a hard limit blocks the launch of new instances.

IT_LICENSERULES TYPE /AWS1/CL_LICSTRINGLIST_W=>TT_STRINGLIST TT_STRINGLIST

License rules. The syntax is #name=value (for example, #allowedTenancy=EC2-DedicatedHost). The available rules vary by dimension, as follows.

  • Cores dimension: allowedTenancy | licenseAffinityToHost | maximumCores | minimumCores

  • Instances dimension: allowedTenancy | maximumCores | minimumCores | maximumSockets | minimumSockets | maximumVcpus | minimumVcpus

  • Sockets dimension: allowedTenancy | licenseAffinityToHost | maximumSockets | minimumSockets

  • vCPUs dimension: allowedTenancy | honorVcpuOptimization | maximumVcpus | minimumVcpus

The unit for licenseAffinityToHost is days and the range is 1 to 180. The possible values for allowedTenancy are EC2-Default, EC2-DedicatedHost, and EC2-DedicatedInstance. The possible values for honorVcpuOptimization are True and False.

IT_TAGS TYPE /AWS1/CL_LICTAG=>TT_TAGLIST TT_TAGLIST

Tags to add to the license configuration.

IV_DISASSOCIATEWHENNOTFOUND TYPE /AWS1/LICBOXBOOLEAN /AWS1/LICBOXBOOLEAN

When true, disassociates a resource when software is uninstalled.

IT_PRODUCTINFORMATIONLIST TYPE /AWS1/CL_LICPRODUCTINFORMATION=>TT_PRODUCTINFORMATIONLIST TT_PRODUCTINFORMATIONLIST

Product information.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_LICCRELICENSECONFRSP /AWS1/CL_LICCRELICENSECONFRSP