Skip to content

InventoryItem

Source code in docs_src/capo_ssm/types/inventory_item.py
class InventoryItem(TypedDict, closed=True):
    type_name: "capo_ssm.types.inventory_item_type_name.InventoryItemTypeName"
    """<p>The name of the inventory type. Default inventory item type names start with <code>AWS</code>. Custom inventory type names will start with Custom. Default inventory item types include the following: <code>AWS:AWSComponent</code>, <code>AWS:Application</code>, <code>AWS:InstanceInformation</code>, <code>AWS:Network</code>, and <code>AWS:WindowsUpdate</code>.</p>"""
    schema_version: (
        "capo_ssm.types.inventory_item_schema_version.InventoryItemSchemaVersion"
    )
    """<p>The schema version for the inventory item.</p>"""
    capture_time: "capo_ssm.types.inventory_item_capture_time.InventoryItemCaptureTime"
    """<p>The time the inventory information was collected.</p>"""
    content_hash: NotRequired[
        "capo_ssm.types.inventory_item_content_hash.InventoryItemContentHash"
    ]
    """<p>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. </p>"""
    content: NotRequired[
        "capo_ssm.types.inventory_item_entry_list.InventoryItemEntryList"
    ]
    """<p>The inventory data of the inventory type.</p>"""
    context: NotRequired[
        "capo_ssm.types.inventory_item_content_context.InventoryItemContentContext"
    ]
    """<p>A map of associated properties for a specified inventory type. For example, with this attribute, you can specify the <code>ExecutionId</code>, <code>ExecutionType</code>, <code>ComplianceType</code> properties of the <code>AWS:ComplianceItem</code> type.</p>"""

capture_time instance-attribute

The time the inventory information was collected.

content instance-attribute

content: NotRequired[InventoryItemEntryList]

The inventory data of the inventory type.

content_hash instance-attribute

content_hash: NotRequired[InventoryItemContentHash]

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.

context instance-attribute

context: NotRequired[InventoryItemContentContext]

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 instance-attribute

The schema version for the inventory item.

type_name instance-attribute

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.