AWS System Manager

Put inventory

Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

Bulk update custom inventory items on one or more managed nodes. If a specified inventory item does not already exist, it is created.

Inputs

Expand All

Champ

Type

Description

region [required]

enum

default: us-east-1

instanceId [required]

string

A managed node ID in which to add or update inventory items.

items [required]

[object]

The inventory items to add or update on managed nodes.

TypeName [required]

string

The name of the inventory type. Default inventory item type names start with AWS. Custom inventory type names will start with Custom. Default inventory item types include the following: AWS:AWSComponent, AWS:Application, AWS:InstanceInformation, AWS:Network, and AWS:WindowsUpdate.

SchemaVersion [required]

string

The schema version for the inventory item.

CaptureTime [required]

string

The time the inventory information was collected.

ContentHash

string

MD5 hash of the inventory item type contents. The content hash is used to determine whether to update inventory information. The PutInventory API doesn't update the inventory item type contents if the MD5 hash hasn't changed since last update.

Content

[object]

The inventory data of the inventory type.

Context

object

A map of associated properties for a specified inventory type. For example, with this attribute, you can specify the ExecutionId, ExecutionType, ComplianceType properties of the AWS:ComplianceItem type.

Outputs

Champ

Type

Description

amzRequestId [required]

string