class Amazonite::CloudWatch::Rule

Overview

Defines the schedule configuration for an alarm mute rule.

The rule contains a schedule that specifies when and how long alarms should be muted. The schedule can be a recurring pattern using cron expressions or a one-time mute window using at expressions.

Included Modules

Defined in:

cloudwatch/rule.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(schedule : Schedule) #

[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 schedule : Schedule #

The schedule configuration that defines when the mute rule activates and how long it remains active.


[View source]
def schedule=(schedule : Schedule) #

The schedule configuration that defines when the mute rule activates and how long it remains active.


[View source]
def validate! : Nil #

[View source]