class
Amazonite::CloudWatch::SetAlarmStateInput
- Amazonite::CloudWatch::SetAlarmStateInput
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
cloudwatch/set_alarm_state_input.crConstructors
- .new(alarm_name : String, state_value : StateValue, state_reason : String, state_reason_data : String | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#alarm_name : String
The name of the alarm.
-
#alarm_name=(alarm_name : String)
The name of the alarm.
-
#hash(hasher)
See
Object#hash(hasher) -
#state_reason : String
The reason that this alarm is set to this specific state, in text format.
-
#state_reason=(state_reason : String)
The reason that this alarm is set to this specific state, in text format.
-
#state_reason_data : String | Nil
The reason that this alarm is set to this specific state, in JSON format.
-
#state_reason_data=(state_reason_data : String | Nil)
The reason that this alarm is set to this specific state, in JSON format.
-
#state_value : StateValue
The value of the state.
-
#state_value=(state_value : StateValue)
The value of the state.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The reason that this alarm is set to this specific state, in text format.
The reason that this alarm is set to this specific state, in text format.
The reason that this alarm is set to this specific state, in JSON format.
For SNS or EC2 alarm actions, this is just informational. But for EC2 Auto Scaling or application Auto Scaling alarm actions, the Auto Scaling policy uses the information in this field to take the correct action.
The reason that this alarm is set to this specific state, in JSON format.
For SNS or EC2 alarm actions, this is just informational. But for EC2 Auto Scaling or application Auto Scaling alarm actions, the Auto Scaling policy uses the information in this field to take the correct action.