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

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 InventoryFilter data as a 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The name of the filter key.

Returns:

  • (String)

11532
11533
11534
11535
11536
11537
11538
# File 'lib/aws-sdk-ssm/types.rb', line 11532

class InventoryFilter < Struct.new(
  :key,
  :values,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of filter.

<note markdown=“1”> The `Exists` filter must be used with aggregators. For more information, see [Aggregating inventory data] in the *Amazon Web Services Systems Manager User Guide*.

</note>

[1]: docs.aws.amazon.com/systems-manager/latest/userguide/sysman-inventory-aggregate.html

Returns:

  • (String)

11532
11533
11534
11535
11536
11537
11538
# File 'lib/aws-sdk-ssm/types.rb', line 11532

class InventoryFilter < Struct.new(
  :key,
  :values,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#valuesArray<String>

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

Returns:

  • (Array<String>)

11532
11533
11534
11535
11536
11537
11538
# File 'lib/aws-sdk-ssm/types.rb', line 11532

class InventoryFilter < Struct.new(
  :key,
  :values,
  :type)
  SENSITIVE = []
  include Aws::Structure
end