Class: Humidifier::AutoScaling::ScheduledAction
- Defined in:
- lib/humidifier/magic.rb
Overview
A dynamically-defined class that represents an AWS::AutoScaling::ScheduledAction resource
Constant Summary
Constants inherited from Resource
Instance Method Summary collapse
-
#auto_scaling_group_name ⇒ Object
returns the AutoScalingGroupName property.
-
#auto_scaling_group_name=(value) ⇒ Object
sets the AutoScalingGroupName property (String).
-
#desired_capacity ⇒ Object
returns the DesiredCapacity property.
-
#desired_capacity=(value) ⇒ Object
sets the DesiredCapacity property (Integer).
-
#end_time ⇒ Object
returns the EndTime property.
-
#end_time=(value) ⇒ Object
sets the EndTime property (String).
-
#max_size ⇒ Object
returns the MaxSize property.
-
#max_size=(value) ⇒ Object
sets the MaxSize property (Integer).
-
#min_size ⇒ Object
returns the MinSize property.
-
#min_size=(value) ⇒ Object
sets the MinSize property (Integer).
-
#recurrence ⇒ Object
returns the Recurrence property.
-
#recurrence=(value) ⇒ Object
sets the Recurrence property (String).
-
#start_time ⇒ Object
returns the StartTime property.
-
#start_time=(value) ⇒ Object
sets the StartTime property (String).
-
#time_zone ⇒ Object
returns the TimeZone property.
-
#time_zone=(value) ⇒ Object
sets the TimeZone property (String).
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
#auto_scaling_group_name ⇒ Object
returns the AutoScalingGroupName property
10 11 12 |
# File 'lib/humidifier/magic.rb', line 10 def auto_scaling_group_name properties['auto_scaling_group_name'] end |
#auto_scaling_group_name=(value) ⇒ Object
sets the AutoScalingGroupName property (String)
15 16 17 |
# File 'lib/humidifier/magic.rb', line 15 def auto_scaling_group_name=(value) update_property('auto_scaling_group_name', value) end |
#desired_capacity ⇒ Object
returns the DesiredCapacity property
20 21 22 |
# File 'lib/humidifier/magic.rb', line 20 def desired_capacity properties['desired_capacity'] end |
#desired_capacity=(value) ⇒ Object
sets the DesiredCapacity property (Integer)
25 26 27 |
# File 'lib/humidifier/magic.rb', line 25 def desired_capacity=(value) update_property('desired_capacity', value) end |
#end_time ⇒ Object
returns the EndTime property
30 31 32 |
# File 'lib/humidifier/magic.rb', line 30 def end_time properties['end_time'] end |
#end_time=(value) ⇒ Object
sets the EndTime property (String)
35 36 37 |
# File 'lib/humidifier/magic.rb', line 35 def end_time=(value) update_property('end_time', value) end |
#max_size ⇒ Object
returns the MaxSize property
40 41 42 |
# File 'lib/humidifier/magic.rb', line 40 def max_size properties['max_size'] end |
#max_size=(value) ⇒ Object
sets the MaxSize property (Integer)
45 46 47 |
# File 'lib/humidifier/magic.rb', line 45 def max_size=(value) update_property('max_size', value) end |
#min_size ⇒ Object
returns the MinSize property
50 51 52 |
# File 'lib/humidifier/magic.rb', line 50 def min_size properties['min_size'] end |
#min_size=(value) ⇒ Object
sets the MinSize property (Integer)
55 56 57 |
# File 'lib/humidifier/magic.rb', line 55 def min_size=(value) update_property('min_size', value) end |
#recurrence ⇒ Object
returns the Recurrence property
60 61 62 |
# File 'lib/humidifier/magic.rb', line 60 def recurrence properties['recurrence'] end |
#recurrence=(value) ⇒ Object
sets the Recurrence property (String)
65 66 67 |
# File 'lib/humidifier/magic.rb', line 65 def recurrence=(value) update_property('recurrence', value) end |
#start_time ⇒ Object
returns the StartTime property
70 71 72 |
# File 'lib/humidifier/magic.rb', line 70 def start_time properties['start_time'] end |
#start_time=(value) ⇒ Object
sets the StartTime property (String)
75 76 77 |
# File 'lib/humidifier/magic.rb', line 75 def start_time=(value) update_property('start_time', value) end |
#time_zone ⇒ Object
returns the TimeZone property
80 81 82 |
# File 'lib/humidifier/magic.rb', line 80 def time_zone properties['time_zone'] end |
#time_zone=(value) ⇒ Object
sets the TimeZone property (String)
85 86 87 |
# File 'lib/humidifier/magic.rb', line 85 def time_zone=(value) update_property('time_zone', value) end |