Class: Aws::Lightsail::Types::TestAlarmRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lightsail::Types::TestAlarmRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-lightsail/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#alarm_name ⇒ String
The name of the alarm to test.
-
#state ⇒ String
The alarm state to test.
Instance Attribute Details
#alarm_name ⇒ String
The name of the alarm to test.
14261 14262 14263 14264 14265 14266 |
# File 'lib/aws-sdk-lightsail/types.rb', line 14261 class TestAlarmRequest < Struct.new( :alarm_name, :state) SENSITIVE = [] include Aws::Structure end |
#state ⇒ String
The alarm state to test.
An alarm has the following possible states that can be tested:
-
‘ALARM` - The metric is outside of the defined threshold.
-
‘INSUFFICIENT_DATA` - The alarm has just started, the metric is not available, or not enough data is available for the metric to determine the alarm state.
-
‘OK` - The metric is within the defined threshold.
14261 14262 14263 14264 14265 14266 |
# File 'lib/aws-sdk-lightsail/types.rb', line 14261 class TestAlarmRequest < Struct.new( :alarm_name, :state) SENSITIVE = [] include Aws::Structure end |