class Amazonite::CloudWatch::EvaluationCriteria

Overview

The evaluation criteria for an alarm. This is a union type that currently supports PromQLCriteria.

Included Modules

Defined in:

cloudwatch/evaluation_criteria.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(prom_ql_criteria : AlarmPromQLCriteria | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def prom_ql_criteria : AlarmPromQLCriteria | Nil #

The PromQL criteria for the alarm evaluation.


[View source]
def prom_ql_criteria=(prom_ql_criteria : AlarmPromQLCriteria | Nil) #

The PromQL criteria for the alarm evaluation.


[View source]
def validate! : Nil #

[View source]