linux_subscriptions
Creates, updates, deletes, gets or lists a linux_subscriptions resource.
Overview
| Name | linux_subscriptions |
| Type | Resource |
| Id | aws.license_manager_linux_subscriptions.linux_subscriptions |
Fields
The following fields are returned by SELECT queries:
- list_linux_subscriptions
| Name | Datatype | Description |
|---|---|---|
instance_count | integer (int64) | The total amount of running instances using this subscription. |
name | string | The name of the subscription. |
type | string | The type of subscription. The type can be subscription-included with Amazon EC2, Bring Your Own Subscription model (BYOS), or from the Amazon Web Services Marketplace. Certain subscriptions may use licensing from the Amazon Web Services Marketplace as well as OS licensing from Amazon EC2 or BYOS. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_linux_subscriptions | select | region | Lists the Linux subscriptions that have been discovered. If you have linked your organization, the returned results will include data aggregated across your accounts in Organizations. |
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_linux_subscriptions
Lists the Linux subscriptions that have been discovered. If you have linked your organization, the returned results will include data aggregated across your accounts in Organizations.
SELECT
instance_count,
name,
type
FROM aws.license_manager_linux_subscriptions.linux_subscriptions
WHERE region = '{{ region }}' -- required
;