class
Amazonite::Ssm::ParameterStringFilter
- Amazonite::Ssm::ParameterStringFilter
- Reference
- Object
Overview
One or more filters. Use a filter to return a more specific list of results.
Included Modules
- JSON::Serializable
Defined in:
ssm/parameter_string_filter.crConstructors
- .new(pull : JSON::PullParser)
- .new(key : String, option : String | Nil = nil, values : Array(String) | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) -
#key : String
The name of the filter.
-
#key=(key : String)
The name of the filter.
-
#option : String | Nil
For all filters used with DescribeParameters, valid options include
EqualsandBeginsWith. -
#option=(option : String | Nil)
For all filters used with DescribeParameters, valid options include
EqualsandBeginsWith. - #validate! : Nil
-
#values : Array(String) | Nil
The value you want to search for.
-
#values=(values : Array(String) | Nil)
The value you want to search for.
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The name of the filter.
The ParameterStringFilter object is used by the DescribeParameters and GetParametersByPath API
operations. However, not all of the pattern values listed for Key can be used with both
operations.
For DescribeParameters, all of the listed patterns are valid except Label.
For GetParametersByPath, the following patterns listed for Key aren't valid: tag,
DataType, Name, Path, and Tier.
For examples of Amazon Web Services CLI commands demonstrating valid parameter filter constructions, see Searching for Systems Manager parameters in the Amazon Web Services Systems Manager User Guide.
The name of the filter.
The ParameterStringFilter object is used by the DescribeParameters and GetParametersByPath API
operations. However, not all of the pattern values listed for Key can be used with both
operations.
For DescribeParameters, all of the listed patterns are valid except Label.
For GetParametersByPath, the following patterns listed for Key aren't valid: tag,
DataType, Name, Path, and Tier.
For examples of Amazon Web Services CLI commands demonstrating valid parameter filter constructions, see Searching for Systems Manager parameters in the Amazon Web Services Systems Manager User Guide.
For all filters used with DescribeParameters, valid options include Equals and BeginsWith.
The Name filter additionally supports the Contains option. (Exception: For filters using the
key Path, valid options include Recursive and OneLevel.)
For filters used with GetParametersByPath, valid options include Equals and BeginsWith.
(Exception: For filters using Label as the Key name, the only valid option is Equals.)
For all filters used with DescribeParameters, valid options include Equals and BeginsWith.
The Name filter additionally supports the Contains option. (Exception: For filters using the
key Path, valid options include Recursive and OneLevel.)
For filters used with GetParametersByPath, valid options include Equals and BeginsWith.
(Exception: For filters using Label as the Key name, the only valid option is Equals.)