You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CloudWatch::Types::AlarmHistoryItem

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

Overview

Represents the history of a specific alarm.

Instance Attribute Summary collapse

Instance Attribute Details

#alarm_nameString

The descriptive name for the alarm.

Returns:

  • (String)


35
36
37
38
39
40
41
42
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 35

class AlarmHistoryItem < Struct.new(
  :alarm_name,
  :timestamp,
  :history_item_type,
  :history_summary,
  :history_data)
  include Aws::Structure
end

#history_dataString

Data about the alarm, in JSON format.

Returns:

  • (String)


35
36
37
38
39
40
41
42
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 35

class AlarmHistoryItem < Struct.new(
  :alarm_name,
  :timestamp,
  :history_item_type,
  :history_summary,
  :history_data)
  include Aws::Structure
end

#history_item_typeString

The type of alarm history item.

Returns:

  • (String)


35
36
37
38
39
40
41
42
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 35

class AlarmHistoryItem < Struct.new(
  :alarm_name,
  :timestamp,
  :history_item_type,
  :history_summary,
  :history_data)
  include Aws::Structure
end

#history_summaryString

A summary of the alarm history, in text format.

Returns:

  • (String)


35
36
37
38
39
40
41
42
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 35

class AlarmHistoryItem < Struct.new(
  :alarm_name,
  :timestamp,
  :history_item_type,
  :history_summary,
  :history_data)
  include Aws::Structure
end

#timestampTime

The time stamp for the alarm history item.

Returns:

  • (Time)


35
36
37
38
39
40
41
42
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 35

class AlarmHistoryItem < Struct.new(
  :alarm_name,
  :timestamp,
  :history_item_type,
  :history_summary,
  :history_data)
  include Aws::Structure
end