HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //lib/python3.6/site-packages/awscli/examples/license-manager/create-license-configuration.rst
**Example 1: To create a license configuration**

The following ``create-license-configuration`` example creates a license configuration with a hard limit of 10 cores. ::

  aws license-manager create-license-configuration --name my-license-configuration \
      --license-counting-type Core \
      --license-count 10 \
      --license-count-hard-limit

Output::

  {
    "LicenseConfigurationArn": "arn:aws:license-manager:us-west-2:123456789012:license-configuration:lic-6eb6586f508a786a2ba41EXAMPLE1111"
  }

**Example 2: To create a license configuration**

The following ``create-license-configuration`` example creates a license configuration with a soft limit of 100 vCPUs. It uses a rule to enable vCPU optimization. ::

  aws license-manager create-license-configuration --name my-license-configuration 
      --license-counting-type vCPU \
      --license-count 100 \
      --license-rules "#honorVcpuOptimization=true"

Output::

  {
    "LicenseConfigurationArn": "arn:aws:license-manager:us-west-2:123456789012:license-configuration:lic-6eb6586f508a786a2ba41EXAMPLE2222"
  }