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

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

Overview

Note:

When making an API call, you may pass Filter data as a hash:

{
  key: "description", # accepts description, name, tag-key, tag-value, primary-region, all
  values: ["FilterValueStringType"],
}

Allows you to add filters when you use the search function in Secrets Manager.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

Filters your list of secrets by a specific key.

Returns:

  • (String)

670
671
672
673
674
675
# File 'lib/aws-sdk-secretsmanager/types.rb', line 670

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

#valuesArray<String>

Filters your list of secrets by a specific value.

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

Returns:

  • (Array<String>)

670
671
672
673
674
675
# File 'lib/aws-sdk-secretsmanager/types.rb', line 670

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