licensemanager_create_license_configuration: Creates a license configuration

Description Usage Arguments Value Request syntax

View source: R/licensemanager_operations.R

Description

Creates a license configuration.

A license configuration is an abstraction of a customer license agreement that can be consumed and enforced by License Manager. Components include specifications for the license type (licensing by instance, socket, CPU, or vCPU), allowed tenancy (shared tenancy, Dedicated Instance, Dedicated Host, or all of these), license affinity to host (how long a license must be associated with a host), and the number of licenses purchased and used.

Usage

1
2
3
licensemanager_create_license_configuration(Name, Description,
  LicenseCountingType, LicenseCount, LicenseCountHardLimit, LicenseRules,
  Tags, DisassociateWhenNotFound, ProductInformationList)

Arguments

Name

[required] Name of the license configuration.

Description

Description of the license configuration.

LicenseCountingType

[required] Dimension used to track the license inventory.

LicenseCount

Number of licenses managed by the license configuration.

LicenseCountHardLimit

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

LicenseRules

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.

Tags

Tags to add to the license configuration.

DisassociateWhenNotFound

When true, disassociates a resource when software is uninstalled.

ProductInformationList

Product information.

Value

A list with the following syntax:

1
2
3
list(
  LicenseConfigurationArn = "string"
)

Request syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
svc$create_license_configuration(
  Name = "string",
  Description = "string",
  LicenseCountingType = "vCPU"|"Instance"|"Core"|"Socket",
  LicenseCount = 123,
  LicenseCountHardLimit = TRUE|FALSE,
  LicenseRules = list(
    "string"
  ),
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  ),
  DisassociateWhenNotFound = TRUE|FALSE,
  ProductInformationList = list(
    list(
      ResourceType = "string",
      ProductInformationFilterList = list(
        list(
          ProductInformationFilterName = "string",
          ProductInformationFilterValue = list(
            "string"
          ),
          ProductInformationFilterComparator = "string"
        )
      )
    )
  )
)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.