inventory_entries
Creates, updates, deletes, gets or lists an inventory_entries resource.
Overview
| Name | inventory_entries |
| Type | Resource |
| Id | aws.ssm.inventory_entries |
Fields
The following fields are returned by SELECT queries:
- list_inventory_entries
| Name | Datatype | Description |
|---|---|---|
capture_time | string | The time that inventory information was collected for the managed nodes. (pattern: <code>^(20)[0-9][0-9]-(0[1-9]|1[012])-([12][0-9]|3[01]|0[1-9])(T)(2[0-3]|[0-1][0-9])(:[0-5][0-9])(:[0-5][0-9])(Z)$</code>) |
entries | array | A list of inventory items on the managed nodes. |
instance_id | string | The managed node ID targeted by the request to query inventory information. (pattern: <code>(^i-(\w{8}|\w{17})$)|(^mi-\w{17}$)</code>) |
next_token | string | The token to use when requesting the next set of items. If there are no additional items to return, the string is empty. |
schema_version | string | The inventory schema version used by the managed nodes. (pattern: <code>^([0-9]{1,6})(.[0-9]{1,6})$</code>) |
type_name | string | The type of inventory item returned by the request. (pattern: <code>^(AWS|Custom):.*$</code>) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_inventory_entries | select | region | A list of inventory items returned by the request. |
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_inventory_entries
A list of inventory items returned by the request.
SELECT
capture_time,
entries,
instance_id,
next_token,
schema_version,
type_name
FROM aws.ssm.inventory_entries
WHERE region = '{{ region }}' -- required
;