Class: Aws::SSM::Types::InventoryAggregator

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 InventoryAggregator data as a hash:

{
  expression: "InventoryAggregatorExpression",
  aggregators: [
    {
      expression: "InventoryAggregatorExpression",
      aggregators: {
        # recursive InventoryAggregatorList
      },
      groups: [
        {
          name: "InventoryGroupName", # required
          filters: [ # required
            {
              key: "InventoryFilterKey", # required
              values: ["InventoryFilterValue"], # required
              type: "Equal", # accepts Equal, NotEqual, BeginWith, LessThan, GreaterThan, Exists
            },
          ],
        },
      ],
    },
  ],
  groups: [
    {
      name: "InventoryGroupName", # required
      filters: [ # required
        {
          key: "InventoryFilterKey", # required
          values: ["InventoryFilterValue"], # required
          type: "Equal", # accepts Equal, NotEqual, BeginWith, LessThan, GreaterThan, Exists
        },
      ],
    },
  ],
}

Specifies the inventory type and attribute for the aggregation execution.

Instance Attribute Summary collapse

Instance Attribute Details

#aggregatorsArray<Types::InventoryAggregator>

Nested aggregators to further refine aggregation for an inventory type.

Returns:



9327
9328
9329
9330
9331
9332
# File 'lib/aws-sdk-ssm/types.rb', line 9327

class InventoryAggregator < Struct.new(
  :expression,
  :aggregators,
  :groups)
  include Aws::Structure
end

#expressionString

The inventory type and attribute name for aggregation.

Returns:

  • (String)


9327
9328
9329
9330
9331
9332
# File 'lib/aws-sdk-ssm/types.rb', line 9327

class InventoryAggregator < Struct.new(
  :expression,
  :aggregators,
  :groups)
  include Aws::Structure
end

#groupsArray<Types::InventoryGroup>

A user-defined set of one or more filters on which to aggregate inventory data. Groups return a count of resources that match and don’t match the specified criteria.

Returns:



9327
9328
9329
9330
9331
9332
# File 'lib/aws-sdk-ssm/types.rb', line 9327

class InventoryAggregator < Struct.new(
  :expression,
  :aggregators,
  :groups)
  include Aws::Structure
end