Skip to main content

associations_for_license_configurations

Creates, updates, deletes, gets or lists an associations_for_license_configurations resource.

Overview

Nameassociations_for_license_configurations
TypeResource
Idaws.license_manager.associations_for_license_configurations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
ami_association_scopestringScope of AMI associations. The possible value is cross-account.
association_timestring (date-time)Time when the license configuration was associated with the resource.
resource_arnstringAmazon Resource Name (ARN) of the resource.
resource_owner_idstringID of the Amazon Web Services account that owns the resource consuming licenses.
resource_typestringType of server 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_associations_for_license_configurationselectregionLists the resource associations for the specified license configuration. Resource associations need not consume licenses from a license configuration. For example, an AMI or a stopped instance might not consume a license (depending on the license rules).

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 the resource associations for the specified license configuration. Resource associations need not consume licenses from a license configuration. For example, an AMI or a stopped instance might not consume a license (depending on the license rules).

SELECT
ami_association_scope,
association_time,
resource_arn,
resource_owner_id,
resource_type
FROM aws.license_manager.associations_for_license_configurations
WHERE region = '{{ region }}' -- required
;