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
- Struct
- Aws::LicenseManager::Types::CreateLicenseConfigurationRequest
- Defined in:
- (unknown)
Overview
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
-
#description ⇒ String
Description of the license configuration.
-
#license_count ⇒ Integer
Number of licenses managed by the license configuration.
-
#license_count_hard_limit ⇒ Boolean
Indicates whether hard or soft license enforcement is used.
-
#license_counting_type ⇒ String
Dimension used to track the license inventory.
-
#license_rules ⇒ Array<String>
License rules.
-
#name ⇒ String
Name of the license configuration.
-
#product_information_list ⇒ Array<Types::ProductInformation>
Product information.
-
#tags ⇒ Array<Types::Tag>
Tags to add to the license configuration.
Instance Attribute Details
#description ⇒ String
Description of the license configuration.
#license_count ⇒ Integer
Number of licenses managed by the license configuration.
#license_count_hard_limit ⇒ Boolean
Indicates whether hard or soft license enforcement is used. Exceeding a hard limit blocks the launch of new instances.
#license_counting_type ⇒ String
Dimension used to track the license inventory.
Possible values:
- vCPU
- Instance
- Core
- Socket
#license_rules ⇒ Array<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
.
#name ⇒ String
Name of the license configuration.
#product_information_list ⇒ Array<Types::ProductInformation>
Product information.
#tags ⇒ Array<Types::Tag>
Tags to add to the license configuration.