class Amazonite::CloudWatch::PutAlarmMuteRuleInput

Included Modules

Defined in:

cloudwatch/put_alarm_mute_rule_input.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, rule : Rule, description : String | Nil = nil, mute_targets : MuteTargets | Nil = nil, tags : Array(Tag) | Nil = nil, start_date : Time | Nil = nil, expire_date : Time | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[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 description : String | Nil #

A description of the alarm mute rule that helps you identify its purpose.


[View source]
def description=(description : String | Nil) #

A description of the alarm mute rule that helps you identify its purpose.


[View source]
def expire_date : Time | Nil #

The date and time when the mute rule expires and is no longer evaluated, specified as a timestamp in ISO 8601 format (for example, 2026-12-31T23:59:59Z). After this time, the rule status becomes EXPIRED and will no longer mute the targeted alarms.


[View source]
def expire_date=(expire_date : Time | Nil) #

The date and time when the mute rule expires and is no longer evaluated, specified as a timestamp in ISO 8601 format (for example, 2026-12-31T23:59:59Z). After this time, the rule status becomes EXPIRED and will no longer mute the targeted alarms.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def mute_targets : MuteTargets | Nil #

Specifies which alarms this rule applies to.


[View source]
def mute_targets=(mute_targets : MuteTargets | Nil) #

Specifies which alarms this rule applies to.


[View source]
def name : String #

The name of the alarm mute rule. This name must be unique within your Amazon Web Services account and region.


[View source]
def name=(name : String) #

The name of the alarm mute rule. This name must be unique within your Amazon Web Services account and region.


[View source]
def rule : Rule #

The configuration that defines when and how long alarms should be muted.


[View source]
def rule=(rule : Rule) #

The configuration that defines when and how long alarms should be muted.


[View source]
def start_date : Time | Nil #

The date and time after which the mute rule takes effect, specified as a timestamp in ISO 8601 format (for example, 2026-04-15T08:00:00Z). If not specified, the mute rule takes effect immediately upon creation and the mutes are applied as per the schedule expression.


[View source]
def start_date=(start_date : Time | Nil) #

The date and time after which the mute rule takes effect, specified as a timestamp in ISO 8601 format (for example, 2026-04-15T08:00:00Z). If not specified, the mute rule takes effect immediately upon creation and the mutes are applied as per the schedule expression.


[View source]
def tags : Array(Tag) | Nil #

A list of key-value pairs to associate with the alarm mute rule. You can use tags to categorize and manage your mute rules.


[View source]
def tags=(tags : Array(Tag) | Nil) #

A list of key-value pairs to associate with the alarm mute rule. You can use tags to categorize and manage your mute rules.


[View source]
def validate! : Nil #

[View source]