You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::LicenseManager::Types::CreateLicenseConfigurationRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateLicenseConfigurationRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  name: "String", # required
  description: "String",
  license_counting_type: "vCPU", # required, accepts vCPU, Instance, Core, Socket
  license_count: 1,
  license_count_hard_limit: false,
  license_rules: ["String"],
  tags: [
    {
      key: "String",
      value: "String",
    },
  ],
  product_information_list: [
    {
      resource_type: "String", # required
      product_information_filter_list: [ # required
        {
          product_information_filter_name: "String", # required
          product_information_filter_value: ["String"], # required
          product_information_filter_comparator: "String", # required
        },
      ],
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

Description of the license configuration.

Returns:

  • (String)

    Description of the license configuration.

#license_countInteger

Number of licenses managed by the license configuration.

Returns:

  • (Integer)

    Number of licenses managed by the license configuration.

#license_count_hard_limitBoolean

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

Returns:

  • (Boolean)

    Indicates whether hard or soft license enforcement is used.

#license_counting_typeString

Dimension used to track the license inventory.

Possible values:

  • vCPU
  • Instance
  • Core
  • Socket

Returns:

  • (String)

    Dimension used to track the license inventory.

#license_rulesArray<String>

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.

Returns:

  • (Array<String>)

    License rules.

#nameString

Name of the license configuration.

Returns:

  • (String)

    Name of the license configuration.

#product_information_listArray<Types::ProductInformation>

Product information.

Returns:

#tagsArray<Types::Tag>

Tags to add to the license configuration.

Returns:

  • (Array<Types::Tag>)

    Tags to add to the license configuration.