HEX
Server: LiteSpeed
System: Linux s3604.bom1.stableserver.net 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User: dmstechonline (1480)
PHP: 7.4.33
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"
  }