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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing InventoryAggregator as input to an Aws::Client method, you can use a vanilla Hash:

{
  expression: "InventoryAggregatorExpression",
  aggregators: [
    {
      # recursive InventoryAggregator
    },
  ],
  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:

#expressionString

The inventory type and attribute name for aggregation.

Returns:

  • (String)

    The inventory type and attribute name for aggregation.

#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:

  • (Array<Types::InventoryGroup>)

    A user-defined set of one or more filters on which to aggregate inventory data.