associations_for_license_configurations
Creates, updates, deletes, gets or lists an associations_for_license_configurations resource.
Overview
| Name | associations_for_license_configurations |
| Type | Resource |
| Id | aws.license_manager.associations_for_license_configurations |
Fields
The following fields are returned by SELECT queries:
- list_associations_for_license_configuration
| Name | Datatype | Description |
|---|---|---|
ami_association_scope | string | Scope of AMI associations. The possible value is cross-account. |
association_time | string (date-time) | Time when the license configuration was associated with the resource. |
resource_arn | string | Amazon Resource Name (ARN) of the resource. |
resource_owner_id | string | ID of the Amazon Web Services account that owns the resource consuming licenses. |
resource_type | string | Type of server 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_associations_for_license_configuration | select | region | 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). |
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_associations_for_license_configuration
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
;