Class: Aws::CloudWatchOmni::Types::KeyFilter

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb

Overview

Key-value filter used for tags and attributes filtering. Multiple KeyFilters are AND'ed. Multiple values within a single KeyFilter are OR'ed. Values support pattern syntax: exact, negation (!value), wildcard (value, value, value).

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#key ⇒ String

The tag or attribute key to filter on.

Returns:

  • (String)


2689
2690
2691
2692
2693
2694
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 2689

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

#values ⇒ Array<String>

The values to match for this key, OR'ed together. Each supports exact, negation (!value), and wildcard (value, value, value) syntax.

Returns:

  • (Array<String>)


2689
2690
2691
2692
2693
2694
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 2689

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