Class: Aws::SecretsManager::Types::Filter

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

Overview

Allows you to add filters when you use the search function in Secrets Manager. For more information, see Find secrets in Secrets Manager.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The following are keys you can use:

  • description: Prefix match, not case-sensitive.

  • name: Prefix match, case-sensitive.

  • tag-key: Prefix match, case-sensitive.

  • tag-value: Prefix match, case-sensitive.

  • primary-region: Prefix match, case-sensitive.

  • owning-service: Prefix match, case-sensitive.

  • all: Breaks the filter value string into words and then searches all attributes for matches. Not case-sensitive.

Returns:

  • (String)


734
735
736
737
738
739
# File 'gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/types.rb', line 734

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

#valuesArray<String>

The keyword to filter for.

You can prefix your search value with an exclamation mark (!) in order to perform negation filters.

Returns:

  • (Array<String>)


734
735
736
737
738
739
# File 'gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/types.rb', line 734

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