Class: Aws::Lightsail::Types::TestAlarmRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#alarm_nameString

The name of the alarm to test.

Returns:

  • (String)


14229
14230
14231
14232
14233
14234
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 14229

class TestAlarmRequest < Struct.new(
  :alarm_name,
  :state)
  SENSITIVE = []
  include Aws::Structure
end

#stateString

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.

Returns:

  • (String)


14229
14230
14231
14232
14233
14234
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 14229

class TestAlarmRequest < Struct.new(
  :alarm_name,
  :state)
  SENSITIVE = []
  include Aws::Structure
end