Skip to main content

inventory_entries

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

Overview

Nameinventory_entries
TypeResource
Idaws.ssm.inventory_entries

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
capture_timestringThe 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>)
entriesarrayA list of inventory items on the managed nodes.
instance_idstringThe managed node ID targeted by the request to query inventory information. (pattern: <code>(^i-(\w{8}|\w{17})$)|(^mi-\w{17}$)</code>)
next_tokenstringThe token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
schema_versionstringThe inventory schema version used by the managed nodes. (pattern: <code>^([0-9]{1,6})(.[0-9]{1,6})$</code>)
type_namestringThe type of inventory item returned by the request. (pattern: <code>^(AWS|Custom):.*$</code>)

Methods

The following methods are available for this resource:

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

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

SELECT examples

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
;