class
Amazonite::CloudWatch::Rule
- Amazonite::CloudWatch::Rule
- Reference
- Object
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
- JSON::Serializable
Defined in:
cloudwatch/rule.crConstructors
- .new(pull : JSON::PullParser)
- .new(schedule : Schedule)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) -
#schedule : Schedule
The schedule configuration that defines when the mute rule activates and how long it remains active.
-
#schedule=(schedule : Schedule)
The schedule configuration that defines when the mute rule activates and how long it remains active.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The schedule configuration that defines when the mute rule activates and how long it remains active.
The schedule configuration that defines when the mute rule activates and how long it remains active.