Class: Humidifier::CloudWatch::CompositeAlarm

Inherits:
Resource
  • Object
show all
Defined in:
lib/humidifier/magic.rb

Overview

A dynamically-defined class that represents an AWS::CloudWatch::CompositeAlarm resource

Constant Summary

Constants inherited from Resource

Resource::COMMON_ATTRIBUTES

Instance Method Summary collapse

Methods inherited from Resource

#initialize, #method_missing, prop?, #respond_to_missing?, #to_cf, #update, #update_attributes, #update_property

Constructor Details

This class inherits a constructor from Humidifier::Resource

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Humidifier::Resource

Instance Method Details

#actions_enabledObject

returns the ActionsEnabled property



10
11
12
# File 'lib/humidifier/magic.rb', line 10

def actions_enabled
  properties['actions_enabled']
end

#actions_enabled=(value) ⇒ Object

sets the ActionsEnabled property (Boolean)



15
16
17
# File 'lib/humidifier/magic.rb', line 15

def actions_enabled=(value)
  update_property('actions_enabled', value)
end

#alarm_actionsObject

returns the AlarmActions property



20
21
22
# File 'lib/humidifier/magic.rb', line 20

def alarm_actions
  properties['alarm_actions']
end

#alarm_actions=(value) ⇒ Object

sets the AlarmActions property (List)



25
26
27
# File 'lib/humidifier/magic.rb', line 25

def alarm_actions=(value)
  update_property('alarm_actions', value)
end

#alarm_descriptionObject

returns the AlarmDescription property



30
31
32
# File 'lib/humidifier/magic.rb', line 30

def alarm_description
  properties['alarm_description']
end

#alarm_description=(value) ⇒ Object

sets the AlarmDescription property (String)



35
36
37
# File 'lib/humidifier/magic.rb', line 35

def alarm_description=(value)
  update_property('alarm_description', value)
end

#alarm_nameObject

returns the AlarmName property



40
41
42
# File 'lib/humidifier/magic.rb', line 40

def alarm_name
  properties['alarm_name']
end

#alarm_name=(value) ⇒ Object

sets the AlarmName property (String)



45
46
47
# File 'lib/humidifier/magic.rb', line 45

def alarm_name=(value)
  update_property('alarm_name', value)
end

#alarm_ruleObject

returns the AlarmRule property



50
51
52
# File 'lib/humidifier/magic.rb', line 50

def alarm_rule
  properties['alarm_rule']
end

#alarm_rule=(value) ⇒ Object

sets the AlarmRule property (String)



55
56
57
# File 'lib/humidifier/magic.rb', line 55

def alarm_rule=(value)
  update_property('alarm_rule', value)
end

#insufficient_data_actionsObject

returns the InsufficientDataActions property



60
61
62
# File 'lib/humidifier/magic.rb', line 60

def insufficient_data_actions
  properties['insufficient_data_actions']
end

#insufficient_data_actions=(value) ⇒ Object

sets the InsufficientDataActions property (List)



65
66
67
# File 'lib/humidifier/magic.rb', line 65

def insufficient_data_actions=(value)
  update_property('insufficient_data_actions', value)
end

#ok_actionsObject

returns the OKActions property



70
71
72
# File 'lib/humidifier/magic.rb', line 70

def ok_actions
  properties['ok_actions']
end

#ok_actions=(value) ⇒ Object

sets the OKActions property (List)



75
76
77
# File 'lib/humidifier/magic.rb', line 75

def ok_actions=(value)
  update_property('ok_actions', value)
end