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

Class: AWS::CloudWatch::AlarmHistoryItem

Inherits:
Object
  • Object
show all
Defined in:
lib/aws/cloud_watch/alarm_history_item.rb

Instance Attribute Summary collapse

Instance Attribute Details

#alarm_nameString (readonly)

Returns The descriptive name for the alarm.

Returns:

  • (String)

    The descriptive name for the alarm.



28
29
30
# File 'lib/aws/cloud_watch/alarm_history_item.rb', line 28

def alarm_name
  @alarm_name
end

#history_dataString (readonly) Also known as: data

Returns Machine-readable data about the alarm in JSON format.

Returns:

  • (String)

    Machine-readable data about the alarm in JSON format.



31
32
33
# File 'lib/aws/cloud_watch/alarm_history_item.rb', line 31

def history_data
  @history_data
end

#history_item_typeString (readonly) Also known as: type

Returns The type of alarm history item.

Returns:

  • (String)

    The type of alarm history item.



36
37
38
# File 'lib/aws/cloud_watch/alarm_history_item.rb', line 36

def history_item_type
  @history_item_type
end

#history_summaryString (readonly) Also known as: summary

Returns A human-readable summary of the alarm history.

Returns:

  • (String)

    A human-readable summary of the alarm history.



41
42
43
# File 'lib/aws/cloud_watch/alarm_history_item.rb', line 41

def history_summary
  @history_summary
end

#timestampTime (readonly)

Returns The time stamp for the alarm history item.

Returns:

  • (Time)

    The time stamp for the alarm history item.



46
47
48
# File 'lib/aws/cloud_watch/alarm_history_item.rb', line 46

def timestamp
  @timestamp
end