AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::SSM::Types::InventoryFilter

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

Overview

Note:

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

{
  key: "InventoryFilterKey", # required
  values: ["InventoryFilterValue"], # required
  type: "Equal", # accepts Equal, NotEqual, BeginWith, LessThan, GreaterThan, Exists
}

One or more filters. Use a filter to return a more specific list of results.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The name of the filter key.

Returns:

  • (String)

    The name of the filter key.

#typeString

The type of filter.

The Exists filter must be used with aggregators. For more information, see Aggregating inventory data in the AWS Systems Manager User Guide.

Returns:

  • (String)

    The type of filter.

#valuesArray<String>

Inventory filter values. Example: inventory filter where instance IDs are specified as values Key=AWS:InstanceInformation.InstanceId,Values= i-a12b3c4d5e6g, i-1a2b3c4d5e6,Type=Equal

Returns:

  • (Array<String>)

    Inventory filter values.