class Amazonite::Ssm::InventoryItemSchema

Overview

The inventory item schema definition. Users can use this to compose inventory query filters.

Included Modules

Defined in:

ssm/inventory_item_schema.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(type_name : String, attributes : Array(InventoryItemAttribute), version : String | Nil = nil, display_name : 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 attributes : Array(InventoryItemAttribute) #

The schema attributes for inventory. This contains data type and attribute name.


[View source]
def attributes=(attributes : Array(InventoryItemAttribute)) #

The schema attributes for inventory. This contains data type and attribute name.


[View source]
def display_name : String | Nil #

The alias name of the inventory type. The alias name is used for display purposes.


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

The alias name of the inventory type. The alias name is used for display purposes.


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

See Object#hash(hasher)


def type_name : String #

The name of the inventory type. Default inventory item type names start with Amazon Web Services. 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 Amazon Web Services. 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]
def version : String | Nil #

The schema version for the inventory item.


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

The schema version for the inventory item.


[View source]