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

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

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

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

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)


6090
6091
6092
6093
6094
6095
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 6090

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

#typeString

The type of filter. Valid values include the following: "Equal"|"NotEqual"|"BeginWith"|"LessThan"|"GreaterThan"

Returns:

  • (String)


6090
6091
6092
6093
6094
6095
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 6090

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

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


6090
6091
6092
6093
6094
6095
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 6090

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