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/list-usage-for-license-configuration.rst
**To list the licenses in use for a license configuration**

The following ``list-usage-for-license-configuration`` example lists information about the resources using licenses for the specified license configuration. For example, if the license type is vCPU, any instances consume one license per vCPU. ::

  aws license-manager list-usage-for-license-configuration \
      --license-configuration-arn arn:aws:license-manager:us-west-2:123456789012:license-configuration:lic-38b658717b87478aaa7c00883EXAMPLE

Output::

    {
        "LicenseConfigurationUsageList": [
            {
                "ResourceArn": "arn:aws:ec2:us-west-2:123456789012:instance/i-04a636d18e83cfacb",
                "ResourceType": "EC2_INSTANCE",
                "ResourceStatus": "running",
                "ResourceOwnerId": "123456789012",
                "AssociationTime": 1570892850.519,
                "ConsumedLicenses": 2
            }
        ]
    }