class
Amazonite::Ssm::InstancePatchStateFilter
- Amazonite::Ssm::InstancePatchStateFilter
- Reference
- Object
Overview
Defines a filter used in DescribeInstancePatchStatesForPatchGroup to scope down the information returned by the API.
Example: To filter for all managed nodes in a patch group having more than three patches
with a FailedCount status, use the following for the filter:
-
Value for
Key:FailedCount -
Value for
Type:GreaterThan -
Value for
Values:3
Included Modules
- JSON::Serializable
Defined in:
ssm/instance_patch_state_filter.crConstructors
- .new(key : String, values : Array(String), type : InstancePatchStateOperatorType)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) -
#key : String
The key for the filter.
-
#key=(key : String)
The key for the filter.
-
#type : InstancePatchStateOperatorType
The type of comparison that should be performed for the value.
-
#type=(type : InstancePatchStateOperatorType)
The type of comparison that should be performed for the value.
- #validate! : Nil
-
#values : Array(String)
The value for the filter.
-
#values=(values : Array(String))
The value for the filter.
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The key for the filter. Supported values include the following:
-
InstalledCount -
InstalledOtherCount -
InstalledPendingRebootCount -
InstalledRejectedCount -
MissingCount -
FailedCount -
UnreportedNotApplicableCount -
NotApplicableCount
The key for the filter. Supported values include the following:
-
InstalledCount -
InstalledOtherCount -
InstalledPendingRebootCount -
InstalledRejectedCount -
MissingCount -
FailedCount -
UnreportedNotApplicableCount -
NotApplicableCount
The type of comparison that should be performed for the value.
The type of comparison that should be performed for the value.
The value for the filter. Must be an integer greater than or equal to 0.
The value for the filter. Must be an integer greater than or equal to 0.