class
Amazonite::CloudWatch::AlarmHistoryItem
- Amazonite::CloudWatch::AlarmHistoryItem
- Reference
- Object
Overview
Represents the history of a specific alarm.
Included Modules
- JSON::Serializable
Defined in:
cloudwatch/alarm_history_item.crConstructors
- .new(pull : JSON::PullParser)
- .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)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#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.
-
#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.
-
#alarm_contributor_id : String | Nil
The unique identifier of the alarm contributor associated with this history item, if applicable.
-
#alarm_contributor_id=(alarm_contributor_id : String | Nil)
The unique identifier of the alarm contributor associated with this history item, if applicable.
-
#alarm_name : String | Nil
The descriptive name for the alarm.
-
#alarm_name=(alarm_name : String | Nil)
The descriptive name for the alarm.
-
#alarm_type : AlarmType | Nil
The type of alarm, either metric alarm or composite alarm.
-
#alarm_type=(alarm_type : AlarmType | Nil)
The type of alarm, either metric alarm or composite alarm.
-
#hash(hasher)
See
Object#hash(hasher) -
#history_data : String | Nil
Data about the alarm, in JSON format.
-
#history_data=(history_data : String | Nil)
Data about the alarm, in JSON format.
-
#history_item_type : HistoryItemType | Nil
The type of alarm history item.
-
#history_item_type=(history_item_type : HistoryItemType | Nil)
The type of alarm history item.
-
#history_summary : String | Nil
A summary of the alarm history, in text format.
-
#history_summary=(history_summary : String | Nil)
A summary of the alarm history, in text format.
-
#timestamp : Time | Nil
The time stamp for the alarm history item.
-
#timestamp=(timestamp : Time | Nil)
The time stamp for the alarm history item.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
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.
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.
The unique identifier of the alarm contributor associated with this history item, if applicable.
The unique identifier of the alarm contributor associated with this history item, if applicable.
The type of alarm, either metric alarm or composite alarm.
The type of alarm, either metric alarm or composite alarm.
A summary of the alarm history, in text format.