user_associations
Creates, updates, deletes, gets or lists a user_associations resource.
Overview
| Name | user_associations |
| Type | Resource |
| Id | aws.license_manager_user_subscriptions.user_associations |
Fields
The following fields are returned by SELECT queries:
- list_user_associations
| Name | Datatype | Description |
|---|---|---|
association_date | string | The date a user was associated with an EC2 instance. |
disassociation_date | string | The date a user was disassociated from an EC2 instance. |
domain | string | The domain name of the Active Directory that contains the user information for the product subscription. |
identity_provider | object | Refers to an identity provider. |
instance_id | string | The ID of the EC2 instance that provides user-based subscriptions. |
instance_user_arn | string | The Amazon Resource Name (ARN) that identifies the instance user. (pattern: <code>arn:[a-z0-9-.]{1,63}:[a-z0-9-.]{1,63}:[a-z0-9-.]{1,63}:[a-z0-9-.]{1,63}:[a-zA-Z0-9-.]{1,510}/[a-zA-Z0-9-.]{1,510}</code>) |
status | string | The status of a user associated with an EC2 instance. |
status_message | string | The status message for users of an EC2 instance. |
username | string | The user name from the identity provider for the user. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_user_associations | select | region | Lists user associations for an identity provider. |
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_user_associations
Lists user associations for an identity provider.
SELECT
association_date,
disassociation_date,
domain,
identity_provider,
instance_id,
instance_user_arn,
status,
status_message,
username
FROM aws.license_manager_user_subscriptions.user_associations
WHERE region = '{{ region }}' -- required
;