instances
Creates, updates, deletes, gets or lists an instances resource.
Overview
| Name | instances |
| Type | Resource |
| Id | aws.license_manager_user_subscriptions.instances |
Fields
The following fields are returned by SELECT queries:
- list_instances
| Name | Datatype | Description |
|---|---|---|
identity_provider | object | Refers to an identity provider. |
instance_id | string | The ID of the EC2 instance, which provides user-based subscriptions. |
last_status_check_date | string | The date of the last status check. |
owner_account_id | string | The AWS Account ID of the owner of this resource. |
products | array | A list of provided user-based subscription products. |
status | string | The status of an EC2 instance resource. |
status_message | string | The status message for an EC2 instance. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_instances | select | region | Lists the EC2 instances 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) |
SELECT examples
- list_instances
Lists the EC2 instances providing user-based subscriptions.
SELECT
identity_provider,
instance_id,
last_status_check_date,
owner_account_id,
products,
status,
status_message
FROM aws.license_manager_user_subscriptions.instances
WHERE region = '{{ region }}' -- required
;