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.

Direct Known Subclasses

PromQlCriteria, Unknown

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.



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

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



1340
1341
1342
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 1340

def unknown
  @unknown
end