class
Amazonite::CloudWatch::EvaluationCriteria
- Amazonite::CloudWatch::EvaluationCriteria
- Reference
- Object
Overview
The evaluation criteria for an alarm. This is a union type that currently supports
PromQLCriteria.
Included Modules
- JSON::Serializable
Defined in:
cloudwatch/evaluation_criteria.crConstructors
- .new(pull : JSON::PullParser)
- .new(prom_ql_criteria : AlarmPromQLCriteria | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) -
#prom_ql_criteria : AlarmPromQLCriteria | Nil
The PromQL criteria for the alarm evaluation.
-
#prom_ql_criteria=(prom_ql_criteria : AlarmPromQLCriteria | Nil)
The PromQL criteria for the alarm evaluation.
- #validate! : Nil
Constructor Detail
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true if this reference is the same as other. Invokes same?.
def prom_ql_criteria=(prom_ql_criteria : AlarmPromQLCriteria | Nil)
#
The PromQL criteria for the alarm evaluation.