class Aws::LicenseManager::Types::CreateLicenseConfigurationRequest
@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", }, ], disassociate_when_not_found: false, product_information_list: [ { resource_type: "String", # required product_information_filter_list: [ # required { product_information_filter_name: "String", # required product_information_filter_value: ["String"], product_information_filter_comparator: "String", # required }, ], }, ], }
@!attribute [rw] name
Name of the license configuration. @return [String]
@!attribute [rw] description
Description of the license configuration. @return [String]
@!attribute [rw] license_counting_type
Dimension used to track the license inventory. @return [String]
@!attribute [rw] license_count
Number of licenses managed by the license configuration. @return [Integer]
@!attribute [rw] license_count_hard_limit
Indicates whether hard or soft license enforcement is used. Exceeding a hard limit blocks the launch of new instances. @return [Boolean]
@!attribute [rw] license_rules
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`. @return [Array<String>]
@!attribute [rw] tags
Tags to add to the license configuration. @return [Array<Types::Tag>]
@!attribute [rw] disassociate_when_not_found
When true, disassociates a resource when software is uninstalled. @return [Boolean]
@!attribute [rw] product_information_list
Product information. @return [Array<Types::ProductInformation>]
@see docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicenseConfigurationRequest AWS API Documentation
Constants
- SENSITIVE