Class: Humidifier::AutoScaling::AutoScalingGroup
- Defined in:
- lib/humidifier/magic.rb
Overview
A dynamically-defined class that represents an AWS::AutoScaling::AutoScalingGroup 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).
-
#availability_zones ⇒ Object
returns the AvailabilityZones property.
-
#availability_zones=(value) ⇒ Object
sets the AvailabilityZones property (List).
-
#capacity_rebalance ⇒ Object
returns the CapacityRebalance property.
-
#capacity_rebalance=(value) ⇒ Object
sets the CapacityRebalance property (Boolean).
-
#context ⇒ Object
returns the Context property.
-
#context=(value) ⇒ Object
sets the Context property (String).
-
#cooldown ⇒ Object
returns the Cooldown property.
-
#cooldown=(value) ⇒ Object
sets the Cooldown property (String).
-
#default_instance_warmup ⇒ Object
returns the DefaultInstanceWarmup property.
-
#default_instance_warmup=(value) ⇒ Object
sets the DefaultInstanceWarmup property (Integer).
-
#desired_capacity ⇒ Object
returns the DesiredCapacity property.
-
#desired_capacity=(value) ⇒ Object
sets the DesiredCapacity property (String).
-
#desired_capacity_type ⇒ Object
returns the DesiredCapacityType property.
-
#desired_capacity_type=(value) ⇒ Object
sets the DesiredCapacityType property (String).
-
#health_check_grace_period ⇒ Object
returns the HealthCheckGracePeriod property.
-
#health_check_grace_period=(value) ⇒ Object
sets the HealthCheckGracePeriod property (Integer).
-
#health_check_type ⇒ Object
returns the HealthCheckType property.
-
#health_check_type=(value) ⇒ Object
sets the HealthCheckType property (String).
-
#instance_id ⇒ Object
returns the InstanceId property.
-
#instance_id=(value) ⇒ Object
sets the InstanceId property (String).
-
#launch_configuration_name ⇒ Object
returns the LaunchConfigurationName property.
-
#launch_configuration_name=(value) ⇒ Object
sets the LaunchConfigurationName property (String).
-
#launch_template ⇒ Object
returns the LaunchTemplate property.
-
#launch_template=(value) ⇒ Object
sets the LaunchTemplate property (Structure).
-
#lifecycle_hook_specification_list ⇒ Object
returns the LifecycleHookSpecificationList property.
-
#lifecycle_hook_specification_list=(value) ⇒ Object
sets the LifecycleHookSpecificationList property (List).
-
#load_balancer_names ⇒ Object
returns the LoadBalancerNames property.
-
#load_balancer_names=(value) ⇒ Object
sets the LoadBalancerNames property (List).
-
#max_instance_lifetime ⇒ Object
returns the MaxInstanceLifetime property.
-
#max_instance_lifetime=(value) ⇒ Object
sets the MaxInstanceLifetime property (Integer).
-
#max_size ⇒ Object
returns the MaxSize property.
-
#max_size=(value) ⇒ Object
sets the MaxSize property (String).
-
#metrics_collection ⇒ Object
returns the MetricsCollection property.
-
#metrics_collection=(value) ⇒ Object
sets the MetricsCollection property (List).
-
#min_size ⇒ Object
returns the MinSize property.
-
#min_size=(value) ⇒ Object
sets the MinSize property (String).
-
#mixed_instances_policy ⇒ Object
returns the MixedInstancesPolicy property.
-
#mixed_instances_policy=(value) ⇒ Object
sets the MixedInstancesPolicy property (Structure).
-
#new_instances_protected_from_scale_in ⇒ Object
returns the NewInstancesProtectedFromScaleIn property.
-
#new_instances_protected_from_scale_in=(value) ⇒ Object
sets the NewInstancesProtectedFromScaleIn property (Boolean).
-
#notification_configurations ⇒ Object
returns the NotificationConfigurations property.
-
#notification_configurations=(value) ⇒ Object
sets the NotificationConfigurations property (List).
-
#placement_group ⇒ Object
returns the PlacementGroup property.
-
#placement_group=(value) ⇒ Object
sets the PlacementGroup property (String).
-
#service_linked_role_arn ⇒ Object
returns the ServiceLinkedRoleARN property.
-
#service_linked_role_arn=(value) ⇒ Object
sets the ServiceLinkedRoleARN property (String).
-
#tags ⇒ Object
returns the Tags property.
-
#tags=(value) ⇒ Object
sets the Tags property (List).
-
#target_group_arns ⇒ Object
returns the TargetGroupARNs property.
-
#target_group_arns=(value) ⇒ Object
sets the TargetGroupARNs property (List).
-
#termination_policies ⇒ Object
returns the TerminationPolicies property.
-
#termination_policies=(value) ⇒ Object
sets the TerminationPolicies property (List).
-
#vpc_zone_identifier ⇒ Object
returns the VPCZoneIdentifier property.
-
#vpc_zone_identifier=(value) ⇒ Object
sets the VPCZoneIdentifier property (List).
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 |
#availability_zones ⇒ Object
returns the AvailabilityZones property
20 21 22 |
# File 'lib/humidifier/magic.rb', line 20 def availability_zones properties['availability_zones'] end |
#availability_zones=(value) ⇒ Object
sets the AvailabilityZones property (List)
25 26 27 |
# File 'lib/humidifier/magic.rb', line 25 def availability_zones=(value) update_property('availability_zones', value) end |
#capacity_rebalance ⇒ Object
returns the CapacityRebalance property
30 31 32 |
# File 'lib/humidifier/magic.rb', line 30 def capacity_rebalance properties['capacity_rebalance'] end |
#capacity_rebalance=(value) ⇒ Object
sets the CapacityRebalance property (Boolean)
35 36 37 |
# File 'lib/humidifier/magic.rb', line 35 def capacity_rebalance=(value) update_property('capacity_rebalance', value) end |
#context ⇒ Object
returns the Context property
40 41 42 |
# File 'lib/humidifier/magic.rb', line 40 def context properties['context'] end |
#context=(value) ⇒ Object
sets the Context property (String)
45 46 47 |
# File 'lib/humidifier/magic.rb', line 45 def context=(value) update_property('context', value) end |
#cooldown ⇒ Object
returns the Cooldown property
50 51 52 |
# File 'lib/humidifier/magic.rb', line 50 def cooldown properties['cooldown'] end |
#cooldown=(value) ⇒ Object
sets the Cooldown property (String)
55 56 57 |
# File 'lib/humidifier/magic.rb', line 55 def cooldown=(value) update_property('cooldown', value) end |
#default_instance_warmup ⇒ Object
returns the DefaultInstanceWarmup property
60 61 62 |
# File 'lib/humidifier/magic.rb', line 60 def default_instance_warmup properties['default_instance_warmup'] end |
#default_instance_warmup=(value) ⇒ Object
sets the DefaultInstanceWarmup property (Integer)
65 66 67 |
# File 'lib/humidifier/magic.rb', line 65 def default_instance_warmup=(value) update_property('default_instance_warmup', value) end |
#desired_capacity ⇒ Object
returns the DesiredCapacity property
70 71 72 |
# File 'lib/humidifier/magic.rb', line 70 def desired_capacity properties['desired_capacity'] end |
#desired_capacity=(value) ⇒ Object
sets the DesiredCapacity property (String)
75 76 77 |
# File 'lib/humidifier/magic.rb', line 75 def desired_capacity=(value) update_property('desired_capacity', value) end |
#desired_capacity_type ⇒ Object
returns the DesiredCapacityType property
80 81 82 |
# File 'lib/humidifier/magic.rb', line 80 def desired_capacity_type properties['desired_capacity_type'] end |
#desired_capacity_type=(value) ⇒ Object
sets the DesiredCapacityType property (String)
85 86 87 |
# File 'lib/humidifier/magic.rb', line 85 def desired_capacity_type=(value) update_property('desired_capacity_type', value) end |
#health_check_grace_period ⇒ Object
returns the HealthCheckGracePeriod property
90 91 92 |
# File 'lib/humidifier/magic.rb', line 90 def health_check_grace_period properties['health_check_grace_period'] end |
#health_check_grace_period=(value) ⇒ Object
sets the HealthCheckGracePeriod property (Integer)
95 96 97 |
# File 'lib/humidifier/magic.rb', line 95 def health_check_grace_period=(value) update_property('health_check_grace_period', value) end |
#health_check_type ⇒ Object
returns the HealthCheckType property
100 101 102 |
# File 'lib/humidifier/magic.rb', line 100 def health_check_type properties['health_check_type'] end |
#health_check_type=(value) ⇒ Object
sets the HealthCheckType property (String)
105 106 107 |
# File 'lib/humidifier/magic.rb', line 105 def health_check_type=(value) update_property('health_check_type', value) end |
#instance_id ⇒ Object
returns the InstanceId property
110 111 112 |
# File 'lib/humidifier/magic.rb', line 110 def instance_id properties['instance_id'] end |
#instance_id=(value) ⇒ Object
sets the InstanceId property (String)
115 116 117 |
# File 'lib/humidifier/magic.rb', line 115 def instance_id=(value) update_property('instance_id', value) end |
#launch_configuration_name ⇒ Object
returns the LaunchConfigurationName property
120 121 122 |
# File 'lib/humidifier/magic.rb', line 120 def launch_configuration_name properties['launch_configuration_name'] end |
#launch_configuration_name=(value) ⇒ Object
sets the LaunchConfigurationName property (String)
125 126 127 |
# File 'lib/humidifier/magic.rb', line 125 def launch_configuration_name=(value) update_property('launch_configuration_name', value) end |
#launch_template ⇒ Object
returns the LaunchTemplate property
130 131 132 |
# File 'lib/humidifier/magic.rb', line 130 def launch_template properties['launch_template'] end |
#launch_template=(value) ⇒ Object
sets the LaunchTemplate property (Structure)
135 136 137 |
# File 'lib/humidifier/magic.rb', line 135 def launch_template=(value) update_property('launch_template', value) end |
#lifecycle_hook_specification_list ⇒ Object
returns the LifecycleHookSpecificationList property
140 141 142 |
# File 'lib/humidifier/magic.rb', line 140 def lifecycle_hook_specification_list properties['lifecycle_hook_specification_list'] end |
#lifecycle_hook_specification_list=(value) ⇒ Object
sets the LifecycleHookSpecificationList property (List)
145 146 147 |
# File 'lib/humidifier/magic.rb', line 145 def lifecycle_hook_specification_list=(value) update_property('lifecycle_hook_specification_list', value) end |
#load_balancer_names ⇒ Object
returns the LoadBalancerNames property
150 151 152 |
# File 'lib/humidifier/magic.rb', line 150 def load_balancer_names properties['load_balancer_names'] end |
#load_balancer_names=(value) ⇒ Object
sets the LoadBalancerNames property (List)
155 156 157 |
# File 'lib/humidifier/magic.rb', line 155 def load_balancer_names=(value) update_property('load_balancer_names', value) end |
#max_instance_lifetime ⇒ Object
returns the MaxInstanceLifetime property
160 161 162 |
# File 'lib/humidifier/magic.rb', line 160 def max_instance_lifetime properties['max_instance_lifetime'] end |
#max_instance_lifetime=(value) ⇒ Object
sets the MaxInstanceLifetime property (Integer)
165 166 167 |
# File 'lib/humidifier/magic.rb', line 165 def max_instance_lifetime=(value) update_property('max_instance_lifetime', value) end |
#max_size ⇒ Object
returns the MaxSize property
170 171 172 |
# File 'lib/humidifier/magic.rb', line 170 def max_size properties['max_size'] end |
#max_size=(value) ⇒ Object
sets the MaxSize property (String)
175 176 177 |
# File 'lib/humidifier/magic.rb', line 175 def max_size=(value) update_property('max_size', value) end |
#metrics_collection ⇒ Object
returns the MetricsCollection property
180 181 182 |
# File 'lib/humidifier/magic.rb', line 180 def metrics_collection properties['metrics_collection'] end |
#metrics_collection=(value) ⇒ Object
sets the MetricsCollection property (List)
185 186 187 |
# File 'lib/humidifier/magic.rb', line 185 def metrics_collection=(value) update_property('metrics_collection', value) end |
#min_size ⇒ Object
returns the MinSize property
190 191 192 |
# File 'lib/humidifier/magic.rb', line 190 def min_size properties['min_size'] end |
#min_size=(value) ⇒ Object
sets the MinSize property (String)
195 196 197 |
# File 'lib/humidifier/magic.rb', line 195 def min_size=(value) update_property('min_size', value) end |
#mixed_instances_policy ⇒ Object
returns the MixedInstancesPolicy property
200 201 202 |
# File 'lib/humidifier/magic.rb', line 200 def mixed_instances_policy properties['mixed_instances_policy'] end |
#mixed_instances_policy=(value) ⇒ Object
sets the MixedInstancesPolicy property (Structure)
205 206 207 |
# File 'lib/humidifier/magic.rb', line 205 def mixed_instances_policy=(value) update_property('mixed_instances_policy', value) end |
#new_instances_protected_from_scale_in ⇒ Object
returns the NewInstancesProtectedFromScaleIn property
210 211 212 |
# File 'lib/humidifier/magic.rb', line 210 def new_instances_protected_from_scale_in properties['new_instances_protected_from_scale_in'] end |
#new_instances_protected_from_scale_in=(value) ⇒ Object
sets the NewInstancesProtectedFromScaleIn property (Boolean)
215 216 217 |
# File 'lib/humidifier/magic.rb', line 215 def new_instances_protected_from_scale_in=(value) update_property('new_instances_protected_from_scale_in', value) end |
#notification_configurations ⇒ Object
returns the NotificationConfigurations property
220 221 222 |
# File 'lib/humidifier/magic.rb', line 220 def notification_configurations properties['notification_configurations'] end |
#notification_configurations=(value) ⇒ Object
sets the NotificationConfigurations property (List)
225 226 227 |
# File 'lib/humidifier/magic.rb', line 225 def notification_configurations=(value) update_property('notification_configurations', value) end |
#placement_group ⇒ Object
returns the PlacementGroup property
230 231 232 |
# File 'lib/humidifier/magic.rb', line 230 def placement_group properties['placement_group'] end |
#placement_group=(value) ⇒ Object
sets the PlacementGroup property (String)
235 236 237 |
# File 'lib/humidifier/magic.rb', line 235 def placement_group=(value) update_property('placement_group', value) end |
#service_linked_role_arn ⇒ Object
returns the ServiceLinkedRoleARN property
240 241 242 |
# File 'lib/humidifier/magic.rb', line 240 def service_linked_role_arn properties['service_linked_role_arn'] end |
#service_linked_role_arn=(value) ⇒ Object
sets the ServiceLinkedRoleARN property (String)
245 246 247 |
# File 'lib/humidifier/magic.rb', line 245 def service_linked_role_arn=(value) update_property('service_linked_role_arn', value) end |
#tags ⇒ Object
returns the Tags property
250 251 252 |
# File 'lib/humidifier/magic.rb', line 250 def properties['tags'] end |
#tags=(value) ⇒ Object
sets the Tags property (List)
255 256 257 |
# File 'lib/humidifier/magic.rb', line 255 def (value) update_property('tags', value) end |
#target_group_arns ⇒ Object
returns the TargetGroupARNs property
260 261 262 |
# File 'lib/humidifier/magic.rb', line 260 def target_group_arns properties['target_group_arns'] end |
#target_group_arns=(value) ⇒ Object
sets the TargetGroupARNs property (List)
265 266 267 |
# File 'lib/humidifier/magic.rb', line 265 def target_group_arns=(value) update_property('target_group_arns', value) end |
#termination_policies ⇒ Object
returns the TerminationPolicies property
270 271 272 |
# File 'lib/humidifier/magic.rb', line 270 def termination_policies properties['termination_policies'] end |
#termination_policies=(value) ⇒ Object
sets the TerminationPolicies property (List)
275 276 277 |
# File 'lib/humidifier/magic.rb', line 275 def termination_policies=(value) update_property('termination_policies', value) end |
#vpc_zone_identifier ⇒ Object
returns the VPCZoneIdentifier property
280 281 282 |
# File 'lib/humidifier/magic.rb', line 280 def vpc_zone_identifier properties['vpc_zone_identifier'] end |
#vpc_zone_identifier=(value) ⇒ Object
sets the VPCZoneIdentifier property (List)
285 286 287 |
# File 'lib/humidifier/magic.rb', line 285 def vpc_zone_identifier=(value) update_property('vpc_zone_identifier', value) end |