users
Creates, updates, deletes, gets or lists a users resource.
Overview
| Name | users |
| Type | Resource |
| Id | aws.license_manager_user_subscriptions.users |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
associate_user | update | region, Username, InstanceId, IdentityProvider | Associates the user to an EC2 instance to utilize user-based subscriptions. Your estimated bill for charges on the number of users and related costs will take 48 hours to appear for billing periods that haven't closed (marked as Pending billing status) in Amazon Web Services Billing. For more information, see Viewing your monthly charges in the Amazon Web Services Billing User Guide. | |
disassociate_user | update | region | Disassociates the user from an EC2 instance providing user-based subscriptions. |
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) |
UPDATE examples
- associate_user
- disassociate_user
Associates the user to an EC2 instance to utilize user-based subscriptions. Your estimated bill for charges on the number of users and related costs will take 48 hours to appear for billing periods that haven't closed (marked as Pending billing status) in Amazon Web Services Billing. For more information, see Viewing your monthly charges in the Amazon Web Services Billing User Guide.
UPDATE aws.license_manager_user_subscriptions.users
SET
Username = '{{ Username }}',
InstanceId = '{{ InstanceId }}',
IdentityProvider = '{{ IdentityProvider }}',
Domain = '{{ Domain }}',
Tags = '{{ Tags }}'
WHERE
region = '{{ region }}' --required
AND Username = '{{ Username }}' --required
AND InstanceId = '{{ InstanceId }}' --required
AND IdentityProvider = '{{ IdentityProvider }}' --required
RETURNING
instance_user_summary;
Disassociates the user from an EC2 instance providing user-based subscriptions.
UPDATE aws.license_manager_user_subscriptions.users
SET
Username = '{{ Username }}',
InstanceId = '{{ InstanceId }}',
IdentityProvider = '{{ IdentityProvider }}',
InstanceUserArn = '{{ InstanceUserArn }}',
Domain = '{{ Domain }}'
WHERE
region = '{{ region }}' --required
RETURNING
instance_user_summary;