class Amazonite::CloudWatch::AlarmHistoryItem

Overview

Represents the history of a specific alarm.

Included Modules

Defined in:

cloudwatch/alarm_history_item.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(alarm_name : String | Nil = nil, alarm_contributor_id : String | Nil = nil, alarm_type : AlarmType | Nil = nil, timestamp : Time | Nil = nil, history_item_type : HistoryItemType | Nil = nil, history_summary : String | Nil = nil, history_data : String | Nil = nil, alarm_contributor_attributes : Hash(String, String) | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable 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 alarm_contributor_attributes : Hash(String, String) | Nil #

A map of attributes that describe the alarm contributor associated with this history item, providing context about the contributor's characteristics at the time of the event.


[View source]
def alarm_contributor_attributes=(alarm_contributor_attributes : Hash(String, String) | Nil) #

A map of attributes that describe the alarm contributor associated with this history item, providing context about the contributor's characteristics at the time of the event.


[View source]
def alarm_contributor_id : String | Nil #

The unique identifier of the alarm contributor associated with this history item, if applicable.


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

The unique identifier of the alarm contributor associated with this history item, if applicable.


[View source]
def alarm_name : String | Nil #

The descriptive name for the alarm.


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

The descriptive name for the alarm.


[View source]
def alarm_type : AlarmType | Nil #

The type of alarm, either metric alarm or composite alarm.


[View source]
def alarm_type=(alarm_type : AlarmType | Nil) #

The type of alarm, either metric alarm or composite alarm.


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

See Object#hash(hasher)


def history_data : String | Nil #

Data about the alarm, in JSON format.


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

Data about the alarm, in JSON format.


[View source]
def history_item_type : HistoryItemType | Nil #

The type of alarm history item.


[View source]
def history_item_type=(history_item_type : HistoryItemType | Nil) #

The type of alarm history item.


[View source]
def history_summary : String | Nil #

A summary of the alarm history, in text format.


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

A summary of the alarm history, in text format.


[View source]
def timestamp : Time | Nil #

The time stamp for the alarm history item.


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

The time stamp for the alarm history item.


[View source]
def validate! : Nil #

[View source]