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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb

Overview

Note:

When making an API call, you may pass CreateLicenseConfigurationRequest data as a 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
        },
      ],
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

Description of the license configuration.

Returns:

  • (String)


158
159
160
161
162
163
164
165
166
167
168
169
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 158

class CreateLicenseConfigurationRequest < Struct.new(
  :name,
  :description,
  :license_counting_type,
  :license_count,
  :license_count_hard_limit,
  :license_rules,
  :tags,
  :product_information_list)
  SENSITIVE = []
  include Aws::Structure
end

#license_countInteger

Number of licenses managed by the license configuration.

Returns:

  • (Integer)


158
159
160
161
162
163
164
165
166
167
168
169
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 158

class CreateLicenseConfigurationRequest < Struct.new(
  :name,
  :description,
  :license_counting_type,
  :license_count,
  :license_count_hard_limit,
  :license_rules,
  :tags,
  :product_information_list)
  SENSITIVE = []
  include Aws::Structure
end

#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)


158
159
160
161
162
163
164
165
166
167
168
169
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 158

class CreateLicenseConfigurationRequest < Struct.new(
  :name,
  :description,
  :license_counting_type,
  :license_count,
  :license_count_hard_limit,
  :license_rules,
  :tags,
  :product_information_list)
  SENSITIVE = []
  include Aws::Structure
end

#license_counting_typeString

Dimension used to track the license inventory.

Returns:

  • (String)


158
159
160
161
162
163
164
165
166
167
168
169
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 158

class CreateLicenseConfigurationRequest < Struct.new(
  :name,
  :description,
  :license_counting_type,
  :license_count,
  :license_count_hard_limit,
  :license_rules,
  :tags,
  :product_information_list)
  SENSITIVE = []
  include Aws::Structure
end

#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>)


158
159
160
161
162
163
164
165
166
167
168
169
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 158

class CreateLicenseConfigurationRequest < Struct.new(
  :name,
  :description,
  :license_counting_type,
  :license_count,
  :license_count_hard_limit,
  :license_rules,
  :tags,
  :product_information_list)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

Name of the license configuration.

Returns:

  • (String)


158
159
160
161
162
163
164
165
166
167
168
169
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 158

class CreateLicenseConfigurationRequest < Struct.new(
  :name,
  :description,
  :license_counting_type,
  :license_count,
  :license_count_hard_limit,
  :license_rules,
  :tags,
  :product_information_list)
  SENSITIVE = []
  include Aws::Structure
end

#product_information_listArray<Types::ProductInformation>

Product information.

Returns:



158
159
160
161
162
163
164
165
166
167
168
169
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 158

class CreateLicenseConfigurationRequest < Struct.new(
  :name,
  :description,
  :license_counting_type,
  :license_count,
  :license_count_hard_limit,
  :license_rules,
  :tags,
  :product_information_list)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

Tags to add to the license configuration.

Returns:



158
159
160
161
162
163
164
165
166
167
168
169
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 158

class CreateLicenseConfigurationRequest < Struct.new(
  :name,
  :description,
  :license_counting_type,
  :license_count,
  :license_count_hard_limit,
  :license_rules,
  :tags,
  :product_information_list)
  SENSITIVE = []
  include Aws::Structure
end