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_criteriaTypes::AlarmPromQLCriteria

The PromQL criteria for the alarm evaluation.



1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 1432

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

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



1432
1433
1434
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 1432

def unknown
  @unknown
end