usage_for_license_configurations
Creates, updates, deletes, gets or lists a usage_for_license_configurations resource.
Overview
| Name | usage_for_license_configurations |
| Type | Resource |
| Id | aws.license_manager.usage_for_license_configurations |
Fields
The following fields are returned by SELECT queries:
- list_usage_for_license_configuration
| Name | Datatype | Description |
|---|---|---|
association_time | string (date-time) | Time when the license configuration was initially associated with the resource. |
consumed_licenses | integer (int64) | Number of licenses consumed by the resource. |
resource_arn | string | Amazon Resource Name (ARN) of the resource. |
resource_owner_id | string | ID of the account that owns the resource. |
resource_status | string | Status of the resource. |
resource_type | string | Type of resource. (EC2_INSTANCE, EC2_HOST, EC2_AMI, RDS, SYSTEMS_MANAGER_MANAGED_INSTANCE) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_usage_for_license_configuration | select | region | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_usage_for_license_configuration
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
;