You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::SSM::Types::InventoryItem
- Inherits:
-
Struct
- Object
- Struct
- Aws::SSM::Types::InventoryItem
- Defined in:
- (unknown)
Overview
When passing InventoryItem as input to an Aws::Client method, you can use a vanilla Hash:
{
type_name: "InventoryItemTypeName", # required
schema_version: "InventoryItemSchemaVersion", # required
capture_time: "InventoryItemCaptureTime", # required
content_hash: "InventoryItemContentHash",
content: [
{
"AttributeName" => "AttributeValue",
},
],
context: {
"AttributeName" => "AttributeValue",
},
}
Information collected from managed instances based on your inventory policy document
Instance Attribute Summary collapse
-
#capture_time ⇒ String
The time the inventory information was collected.
-
#content ⇒ Array<Hash<String,String>>
The inventory data of the inventory type.
-
#content_hash ⇒ String
MD5 hash of the inventory item type contents.
-
#context ⇒ Hash<String,String>
A map of associated properties for a specified inventory type.
-
#schema_version ⇒ String
The schema version for the inventory item.
-
#type_name ⇒ String
The name of the inventory type.
Instance Attribute Details
#capture_time ⇒ String
The time the inventory information was collected.
#content ⇒ Array<Hash<String,String>>
The inventory data of the inventory type.
#content_hash ⇒ String
MD5 hash of the inventory item type contents. The content hash is used to determine whether to update inventory information. The PutInventory API does not update the inventory item type contents if the MD5 hash has not changed since last update.
#context ⇒ Hash<String,String>
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.
#schema_version ⇒ String
The schema version for the inventory item.
#type_name ⇒ 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.