Skip to main content

instances

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

Overview

Nameinstances
TypeResource
Idaws.license_manager_user_subscriptions.instances

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
identity_providerobjectRefers to an identity provider.
instance_idstringThe ID of the EC2 instance, which provides user-based subscriptions.
last_status_check_datestringThe date of the last status check.
owner_account_idstringThe AWS Account ID of the owner of this resource.
productsarrayA list of provided user-based subscription products.
statusstringThe status of an EC2 instance resource.
status_messagestringThe status message for an EC2 instance.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_instancesselectregionLists 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

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
;