AWS System Manager

Query inventory

このページは日本語には対応しておりません。随時翻訳に取り組んでいます。翻訳に関してご質問やご意見ございましたら、お気軽にご連絡ください。

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

Inputs

Expand All

フィールド

種類

説明

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

フィールド

種類

説明

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