Class: Humidifier::ApplicationAutoScaling::ScalableTarget
- Defined in:
- lib/humidifier/magic.rb
Overview
A dynamically-defined class that represents an AWS::ApplicationAutoScaling::ScalableTarget resource
Constant Summary
Constants inherited from Resource
Instance Method Summary collapse
-
#max_capacity ⇒ Object
returns the MaxCapacity property.
-
#max_capacity=(value) ⇒ Object
sets the MaxCapacity property (Integer).
-
#min_capacity ⇒ Object
returns the MinCapacity property.
-
#min_capacity=(value) ⇒ Object
sets the MinCapacity property (Integer).
-
#resource_id ⇒ Object
returns the ResourceId property.
-
#resource_id=(value) ⇒ Object
sets the ResourceId property (String).
-
#role_arn ⇒ Object
returns the RoleARN property.
-
#role_arn=(value) ⇒ Object
sets the RoleARN property (String).
-
#scalable_dimension ⇒ Object
returns the ScalableDimension property.
-
#scalable_dimension=(value) ⇒ Object
sets the ScalableDimension property (String).
-
#scheduled_actions ⇒ Object
returns the ScheduledActions property.
-
#scheduled_actions=(value) ⇒ Object
sets the ScheduledActions property (List).
-
#service_namespace ⇒ Object
returns the ServiceNamespace property.
-
#service_namespace=(value) ⇒ Object
sets the ServiceNamespace property (String).
-
#suspended_state ⇒ Object
returns the SuspendedState property.
-
#suspended_state=(value) ⇒ Object
sets the SuspendedState property (Structure).
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
#max_capacity ⇒ Object
returns the MaxCapacity property
10 11 12 |
# File 'lib/humidifier/magic.rb', line 10 def max_capacity properties['max_capacity'] end |
#max_capacity=(value) ⇒ Object
sets the MaxCapacity property (Integer)
15 16 17 |
# File 'lib/humidifier/magic.rb', line 15 def max_capacity=(value) update_property('max_capacity', value) end |
#min_capacity ⇒ Object
returns the MinCapacity property
20 21 22 |
# File 'lib/humidifier/magic.rb', line 20 def min_capacity properties['min_capacity'] end |
#min_capacity=(value) ⇒ Object
sets the MinCapacity property (Integer)
25 26 27 |
# File 'lib/humidifier/magic.rb', line 25 def min_capacity=(value) update_property('min_capacity', value) end |
#resource_id ⇒ Object
returns the ResourceId property
30 31 32 |
# File 'lib/humidifier/magic.rb', line 30 def resource_id properties['resource_id'] end |
#resource_id=(value) ⇒ Object
sets the ResourceId property (String)
35 36 37 |
# File 'lib/humidifier/magic.rb', line 35 def resource_id=(value) update_property('resource_id', value) end |
#role_arn ⇒ Object
returns the RoleARN property
40 41 42 |
# File 'lib/humidifier/magic.rb', line 40 def role_arn properties['role_arn'] end |
#role_arn=(value) ⇒ Object
sets the RoleARN property (String)
45 46 47 |
# File 'lib/humidifier/magic.rb', line 45 def role_arn=(value) update_property('role_arn', value) end |
#scalable_dimension ⇒ Object
returns the ScalableDimension property
50 51 52 |
# File 'lib/humidifier/magic.rb', line 50 def scalable_dimension properties['scalable_dimension'] end |
#scalable_dimension=(value) ⇒ Object
sets the ScalableDimension property (String)
55 56 57 |
# File 'lib/humidifier/magic.rb', line 55 def scalable_dimension=(value) update_property('scalable_dimension', value) end |
#scheduled_actions ⇒ Object
returns the ScheduledActions property
60 61 62 |
# File 'lib/humidifier/magic.rb', line 60 def scheduled_actions properties['scheduled_actions'] end |
#scheduled_actions=(value) ⇒ Object
sets the ScheduledActions property (List)
65 66 67 |
# File 'lib/humidifier/magic.rb', line 65 def scheduled_actions=(value) update_property('scheduled_actions', value) end |
#service_namespace ⇒ Object
returns the ServiceNamespace property
70 71 72 |
# File 'lib/humidifier/magic.rb', line 70 def service_namespace properties['service_namespace'] end |
#service_namespace=(value) ⇒ Object
sets the ServiceNamespace property (String)
75 76 77 |
# File 'lib/humidifier/magic.rb', line 75 def service_namespace=(value) update_property('service_namespace', value) end |
#suspended_state ⇒ Object
returns the SuspendedState property
80 81 82 |
# File 'lib/humidifier/magic.rb', line 80 def suspended_state properties['suspended_state'] end |
#suspended_state=(value) ⇒ Object
sets the SuspendedState property (Structure)
85 86 87 |
# File 'lib/humidifier/magic.rb', line 85 def suspended_state=(value) update_property('suspended_state', value) end |