HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/share/doc/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"
  }