Skip to main content

usage_for_license_configurations

Creates, updates, deletes, gets or lists a usage_for_license_configurations resource.

Overview

Nameusage_for_license_configurations
TypeResource
Idaws.license_manager.usage_for_license_configurations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
association_timestring (date-time)Time when the license configuration was initially associated with the resource.
consumed_licensesinteger (int64)Number of licenses consumed by the resource.
resource_arnstringAmazon Resource Name (ARN) of the resource.
resource_owner_idstringID of the account that owns the resource.
resource_statusstringStatus of the resource.
resource_typestringType of resource. (EC2_INSTANCE, EC2_HOST, EC2_AMI, RDS, SYSTEMS_MANAGER_MANAGED_INSTANCE)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_usage_for_license_configurationselectregionLists all license usage records for a license configuration, displaying license consumption details by resource at a selected point in time. Use this action to audit the current license consumption for any license inventory and configuration.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Lists all license usage records for a license configuration, displaying license consumption details by resource at a selected point in time. Use this action to audit the current license consumption for any license inventory and configuration.

SELECT
association_time,
consumed_licenses,
resource_arn,
resource_owner_id,
resource_status,
resource_type
FROM aws.license_manager.usage_for_license_configurations
WHERE region = '{{ region }}' -- required
;