AWS System Manager

Query inventory

Query inventory information. This includes managed node status, such as Stopped or Terminated.

Inputs

Expand All

Field

Type

Description

region [required]

enum

default: us-east-1

filters

[object]

One or more filters to return a more specific list of results.

Key [required]

string

The name of the filter key.

Values [required]

[string]

Inventory filter values. Example: inventory filter where managed node IDs are specified as values Key=AWS:InstanceInformation.InstanceId,Values= i-a12b3c4d5e6g, i-1a2b3c4d5e6,Type=Equal.

Type

string

The type of filter. The Exists filter must be used with aggregators. For more information, see Aggregating inventory data in the Amazon Web Services Systems Manager User Guide.

Outputs

Expand All

Field

Type

Description

entities

[object]

Collection of inventory entities such as a collection of managed node inventory.

Id

string

ID of the inventory result entity. For example, for managed node inventory the result will be the managed node ID. For EC2 instance inventory, the result will be the instance ID.

Data

object

The data section in the inventory result entity JSON.

amzRequestId [required]

string

PREVIEWING: esther/docs-7422-add-rsyslog-note