Class: Aws::CloudWatch::Types::EvaluationCriteria
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatch::Types::EvaluationCriteria
- Defined in:
- gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb
Overview
Note:
EvaluationCriteria is a union - when making an API calls you must set exactly one of the members.
Note:
EvaluationCriteria is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of EvaluationCriteria corresponding to the set member.
The evaluation criteria for an alarm. This is a union type that
currently supports PromQLCriteria.
Direct Known Subclasses
Defined Under Namespace
Classes: PromQlCriteria, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#prom_ql_criteria ⇒ Types::AlarmPromQLCriteria
The PromQL criteria for the alarm evaluation.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#prom_ql_criteria ⇒ Types::AlarmPromQLCriteria
The PromQL criteria for the alarm evaluation.
1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 |
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 1340 class EvaluationCriteria < Struct.new( :prom_ql_criteria, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class PromQlCriteria < EvaluationCriteria; end class Unknown < EvaluationCriteria; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
1340 1341 1342 |
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 1340 def unknown @unknown end |