InventoryItem - Amazon Systems Manager
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

InventoryItem

Information collected from managed nodes based on your inventory policy document

Contents

CaptureTime

The time the inventory information was collected.

Type: String

Pattern: ^(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)$

Required: Yes

SchemaVersion

The schema version for the inventory item.

Type: String

Pattern: ^([0-9]{1,6})(\.[0-9]{1,6})$

Required: Yes

TypeName

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.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 100.

Pattern: ^(AWS|Custom):.*$

Required: Yes

Content

The inventory data of the inventory type.

Type: Array of string to string maps

Array Members: Minimum number of 0 items. Maximum number of 10000 items.

Map Entries: Minimum number of 0 items. Maximum number of 50 items.

Key Length Constraints: Minimum length of 1. Maximum length of 64.

Value Length Constraints: Minimum length of 0. Maximum length of 4096.

Required: No

ContentHash

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.

Type: String

Length Constraints: Maximum length of 256.

Required: No

Context

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.

Type: String to string map

Map Entries: Minimum number of 0 items. Maximum number of 50 items.

Key Length Constraints: Minimum length of 1. Maximum length of 64.

Value Length Constraints: Minimum length of 0. Maximum length of 4096.

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: