Class: Aws::CloudWatch::Types::EvaluationCriteria

Inherits:
Struct
  • Object
show all
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.

Defined Under Namespace

Classes: PromQlCriteria, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#prom_ql_criteria ⇒ Types::AlarmPromQLCriteria

The PromQL criteria for the alarm evaluation.



1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 1608

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

Returns:

  • (Object) —

    the current value of unknown



1608
1609
1610
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 1608

def unknown
  @unknown
end