Skip to content

CreateLicenseConfigurationRequest

Source code in docs_src/capo_license_manager/types/create_license_configuration_request.py
class CreateLicenseConfigurationRequest(TypedDict, closed=True):
    name: "capo_license_manager.types.string.String"
    """<p>Name of the license configuration.</p>"""
    description: NotRequired["capo_license_manager.types.string.String"]
    """<p>Description of the license configuration.</p>"""
    license_counting_type: (
        "capo_license_manager.types.license_counting_type.LicenseCountingType"
    )
    """<p>Dimension used to track the license inventory.</p>"""
    license_count: NotRequired["capo_license_manager.types.box_long.BoxLong"]
    """<p>Number of licenses managed by the license configuration.</p>"""
    license_count_hard_limit: NotRequired[
        "capo_license_manager.types.box_boolean.BoxBoolean"
    ]
    """<p>Indicates whether hard or soft license enforcement is used. Exceeding a hard limit blocks the launch of new instances.</p>"""
    license_rules: NotRequired["capo_license_manager.types.string_list.StringList"]
    """<p>License rules. The syntax is #name=value (for example, #allowedTenancy=EC2-DedicatedHost). The available rules vary by dimension, as follows.</p> <ul> <li> <p> <code>Cores</code> dimension: <code>allowedTenancy</code> | <code>licenseAffinityToHost</code> | <code>maximumCores</code> | <code>minimumCores</code> </p> </li> <li> <p> <code>Instances</code> dimension: <code>allowedTenancy</code> | <code>maximumVcpus</code> | <code>minimumVcpus</code> </p> </li> <li> <p> <code>Sockets</code> dimension: <code>allowedTenancy</code> | <code>licenseAffinityToHost</code> | <code>maximumSockets</code> | <code>minimumSockets</code> </p> </li> <li> <p> <code>vCPUs</code> dimension: <code>allowedTenancy</code> | <code>honorVcpuOptimization</code> | <code>maximumVcpus</code> | <code>minimumVcpus</code> </p> </li> </ul> <p>The unit for <code>licenseAffinityToHost</code> is days and the range is 1 to 180. The possible values for <code>allowedTenancy</code> are <code>EC2-Default</code>, <code>EC2-DedicatedHost</code>, and <code>EC2-DedicatedInstance</code>. The possible values for <code>honorVcpuOptimization</code> are <code>True</code> and <code>False</code>.</p>"""
    tags: NotRequired["capo_license_manager.types.tag_list.TagList"]
    """<p>Tags to add to the license configuration.</p>"""
    disassociate_when_not_found: NotRequired[
        "capo_license_manager.types.box_boolean.BoxBoolean"
    ]
    """<p>When true, disassociates a resource when software is uninstalled.</p>"""
    product_information_list: NotRequired[
        "capo_license_manager.types.product_information_list.ProductInformationList"
    ]
    """<p>Product information.</p>"""
    license_expiry: NotRequired["capo_license_manager.types.box_long.BoxLong"]
    """<p>License configuration expiry.</p>"""

description instance-attribute

description: NotRequired[String]

Description of the license configuration.

disassociate_when_not_found instance-attribute

disassociate_when_not_found: NotRequired[BoxBoolean]

When true, disassociates a resource when software is uninstalled.

license_count instance-attribute

license_count: NotRequired[BoxLong]

Number of licenses managed by the license configuration.

license_count_hard_limit instance-attribute

license_count_hard_limit: NotRequired[BoxBoolean]

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

license_counting_type instance-attribute

license_counting_type: LicenseCountingType

Dimension used to track the license inventory.

license_expiry instance-attribute

license_expiry: NotRequired[BoxLong]

License configuration expiry.

license_rules instance-attribute

license_rules: NotRequired[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 | 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.

name instance-attribute

name: String

Name of the license configuration.

product_information_list instance-attribute

product_information_list: NotRequired[ProductInformationList]

Product information.

tags instance-attribute

tags: NotRequired[TagList]

Tags to add to the license configuration.