Class: Aws::SSM::Types::InventoryItem

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-ssm/types.rb

Overview

Note:

When making an API call, you may pass InventoryItem data as a 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 nodes based on your inventory policy document

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#capture_timeString

The time the inventory information was collected.

Returns:

  • (String)

11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
# File 'lib/aws-sdk-ssm/types.rb', line 11635

class InventoryItem < Struct.new(
  :type_name,
  :schema_version,
  :capture_time,
  :content_hash,
  :content,
  :context)
  SENSITIVE = []
  include Aws::Structure
end

#contentArray<Hash<String,String>>

The inventory data of the inventory type.

Returns:

  • (Array<Hash<String,String>>)

11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
# File 'lib/aws-sdk-ssm/types.rb', line 11635

class InventoryItem < Struct.new(
  :type_name,
  :schema_version,
  :capture_time,
  :content_hash,
  :content,
  :context)
  SENSITIVE = []
  include Aws::Structure
end

#content_hashString

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.

Returns:

  • (String)

11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
# File 'lib/aws-sdk-ssm/types.rb', line 11635

class InventoryItem < Struct.new(
  :type_name,
  :schema_version,
  :capture_time,
  :content_hash,
  :content,
  :context)
  SENSITIVE = []
  include Aws::Structure
end

#contextHash<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.

Returns:

  • (Hash<String,String>)

11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
# File 'lib/aws-sdk-ssm/types.rb', line 11635

class InventoryItem < Struct.new(
  :type_name,
  :schema_version,
  :capture_time,
  :content_hash,
  :content,
  :context)
  SENSITIVE = []
  include Aws::Structure
end

#schema_versionString

The schema version for the inventory item.

Returns:

  • (String)

11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
# File 'lib/aws-sdk-ssm/types.rb', line 11635

class InventoryItem < Struct.new(
  :type_name,
  :schema_version,
  :capture_time,
  :content_hash,
  :content,
  :context)
  SENSITIVE = []
  include Aws::Structure
end

#type_nameString

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`.

Returns:

  • (String)

11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
# File 'lib/aws-sdk-ssm/types.rb', line 11635

class InventoryItem < Struct.new(
  :type_name,
  :schema_version,
  :capture_time,
  :content_hash,
  :content,
  :context)
  SENSITIVE = []
  include Aws::Structure
end