class Amazonite::Ssm::AlarmConfiguration

Overview

The details for the CloudWatch alarm you want to apply to an automation or command.

Included Modules

Defined in:

ssm/alarm_configuration.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(alarms : Array(Alarm), ignore_poll_alarm_failure : Bool | 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 alarms : Array(Alarm) #

The name of the CloudWatch alarm specified in the configuration.


[View source]
def alarms=(alarms : Array(Alarm)) #

The name of the CloudWatch alarm specified in the configuration.


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

See Object#hash(hasher)


def ignore_poll_alarm_failure : Bool | Nil #

When this value is true, your automation or command continues to run in cases where we can’t retrieve alarm status information from CloudWatch. In cases where we successfully retrieve an alarm status of OK or INSUFFICIENT_DATA, the automation or command continues to run, regardless of this value. Default is false.


[View source]
def ignore_poll_alarm_failure=(ignore_poll_alarm_failure : Bool | Nil) #

When this value is true, your automation or command continues to run in cases where we can’t retrieve alarm status information from CloudWatch. In cases where we successfully retrieve an alarm status of OK or INSUFFICIENT_DATA, the automation or command continues to run, regardless of this value. Default is false.


[View source]
def validate! : Nil #

[View source]