You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ssm/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:



9121
9122
9123
9124
9125
9126
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 9121

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

#expressionString

The inventory type and attribute name for aggregation.

Returns:

  • (String)


9121
9122
9123
9124
9125
9126
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 9121

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:



9121
9122
9123
9124
9125
9126
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 9121

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