class Amazonite::Ssm::InventoryItem

Overview

Information collected from managed nodes based on your inventory policy document

Included Modules

Defined in:

ssm/inventory_item.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(type_name : String, schema_version : String, capture_time : String, content_hash : String | Nil = nil, content : Array(Hash(String, String)) | Nil = nil, context : Hash(String, String) | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def capture_time : String #

The time the inventory information was collected.


[View source]
def capture_time=(capture_time : String) #

The time the inventory information was collected.


[View source]
def content : Array(Hash(String, String)) | Nil #

The inventory data of the inventory type.


[View source]
def content=(content : Array(Hash(String, String)) | Nil) #

The inventory data of the inventory type.


[View source]
def content_hash : String | Nil #

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.


[View source]
def content_hash=(content_hash : String | Nil) #

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.


[View source]
def context : Hash(String, String) | Nil #

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.


[View source]
def context=(context : Hash(String, String) | Nil) #

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.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def schema_version : String #

The schema version for the inventory item.


[View source]
def schema_version=(schema_version : String) #

The schema version for the inventory item.


[View source]
def 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.


[View source]
def type_name=(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.


[View source]
def validate! : Nil #

[View source]