Class: Humidifier::AutoScaling::ScalingPolicy
- Defined in:
- lib/humidifier/magic.rb
Overview
A dynamically-defined class that represents an AWS::AutoScaling::ScalingPolicy resource
Constant Summary
Constants inherited from Resource
Instance Method Summary collapse
-
#adjustment_type ⇒ Object
returns the AdjustmentType property.
-
#adjustment_type=(value) ⇒ Object
sets the AdjustmentType property (String).
-
#auto_scaling_group_name ⇒ Object
returns the AutoScalingGroupName property.
-
#auto_scaling_group_name=(value) ⇒ Object
sets the AutoScalingGroupName property (String).
-
#cooldown ⇒ Object
returns the Cooldown property.
-
#cooldown=(value) ⇒ Object
sets the Cooldown property (String).
-
#estimated_instance_warmup ⇒ Object
returns the EstimatedInstanceWarmup property.
-
#estimated_instance_warmup=(value) ⇒ Object
sets the EstimatedInstanceWarmup property (Integer).
-
#metric_aggregation_type ⇒ Object
returns the MetricAggregationType property.
-
#metric_aggregation_type=(value) ⇒ Object
sets the MetricAggregationType property (String).
-
#min_adjustment_magnitude ⇒ Object
returns the MinAdjustmentMagnitude property.
-
#min_adjustment_magnitude=(value) ⇒ Object
sets the MinAdjustmentMagnitude property (Integer).
-
#policy_type ⇒ Object
returns the PolicyType property.
-
#policy_type=(value) ⇒ Object
sets the PolicyType property (String).
-
#predictive_scaling_configuration ⇒ Object
returns the PredictiveScalingConfiguration property.
-
#predictive_scaling_configuration=(value) ⇒ Object
sets the PredictiveScalingConfiguration property (Structure).
-
#scaling_adjustment ⇒ Object
returns the ScalingAdjustment property.
-
#scaling_adjustment=(value) ⇒ Object
sets the ScalingAdjustment property (Integer).
-
#step_adjustments ⇒ Object
returns the StepAdjustments property.
-
#step_adjustments=(value) ⇒ Object
sets the StepAdjustments property (List).
-
#target_tracking_configuration ⇒ Object
returns the TargetTrackingConfiguration property.
-
#target_tracking_configuration=(value) ⇒ Object
sets the TargetTrackingConfiguration 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
#adjustment_type ⇒ Object
returns the AdjustmentType property
10 11 12 |
# File 'lib/humidifier/magic.rb', line 10 def adjustment_type properties['adjustment_type'] end |
#adjustment_type=(value) ⇒ Object
sets the AdjustmentType property (String)
15 16 17 |
# File 'lib/humidifier/magic.rb', line 15 def adjustment_type=(value) update_property('adjustment_type', value) end |
#auto_scaling_group_name ⇒ Object
returns the AutoScalingGroupName property
20 21 22 |
# File 'lib/humidifier/magic.rb', line 20 def auto_scaling_group_name properties['auto_scaling_group_name'] end |
#auto_scaling_group_name=(value) ⇒ Object
sets the AutoScalingGroupName property (String)
25 26 27 |
# File 'lib/humidifier/magic.rb', line 25 def auto_scaling_group_name=(value) update_property('auto_scaling_group_name', value) end |
#cooldown ⇒ Object
returns the Cooldown property
30 31 32 |
# File 'lib/humidifier/magic.rb', line 30 def cooldown properties['cooldown'] end |
#cooldown=(value) ⇒ Object
sets the Cooldown property (String)
35 36 37 |
# File 'lib/humidifier/magic.rb', line 35 def cooldown=(value) update_property('cooldown', value) end |
#estimated_instance_warmup ⇒ Object
returns the EstimatedInstanceWarmup property
40 41 42 |
# File 'lib/humidifier/magic.rb', line 40 def estimated_instance_warmup properties['estimated_instance_warmup'] end |
#estimated_instance_warmup=(value) ⇒ Object
sets the EstimatedInstanceWarmup property (Integer)
45 46 47 |
# File 'lib/humidifier/magic.rb', line 45 def estimated_instance_warmup=(value) update_property('estimated_instance_warmup', value) end |
#metric_aggregation_type ⇒ Object
returns the MetricAggregationType property
50 51 52 |
# File 'lib/humidifier/magic.rb', line 50 def metric_aggregation_type properties['metric_aggregation_type'] end |
#metric_aggregation_type=(value) ⇒ Object
sets the MetricAggregationType property (String)
55 56 57 |
# File 'lib/humidifier/magic.rb', line 55 def metric_aggregation_type=(value) update_property('metric_aggregation_type', value) end |
#min_adjustment_magnitude ⇒ Object
returns the MinAdjustmentMagnitude property
60 61 62 |
# File 'lib/humidifier/magic.rb', line 60 def min_adjustment_magnitude properties['min_adjustment_magnitude'] end |
#min_adjustment_magnitude=(value) ⇒ Object
sets the MinAdjustmentMagnitude property (Integer)
65 66 67 |
# File 'lib/humidifier/magic.rb', line 65 def min_adjustment_magnitude=(value) update_property('min_adjustment_magnitude', value) end |
#policy_type ⇒ Object
returns the PolicyType property
70 71 72 |
# File 'lib/humidifier/magic.rb', line 70 def policy_type properties['policy_type'] end |
#policy_type=(value) ⇒ Object
sets the PolicyType property (String)
75 76 77 |
# File 'lib/humidifier/magic.rb', line 75 def policy_type=(value) update_property('policy_type', value) end |
#predictive_scaling_configuration ⇒ Object
returns the PredictiveScalingConfiguration property
80 81 82 |
# File 'lib/humidifier/magic.rb', line 80 def predictive_scaling_configuration properties['predictive_scaling_configuration'] end |
#predictive_scaling_configuration=(value) ⇒ Object
sets the PredictiveScalingConfiguration property (Structure)
85 86 87 |
# File 'lib/humidifier/magic.rb', line 85 def predictive_scaling_configuration=(value) update_property('predictive_scaling_configuration', value) end |
#scaling_adjustment ⇒ Object
returns the ScalingAdjustment property
90 91 92 |
# File 'lib/humidifier/magic.rb', line 90 def scaling_adjustment properties['scaling_adjustment'] end |
#scaling_adjustment=(value) ⇒ Object
sets the ScalingAdjustment property (Integer)
95 96 97 |
# File 'lib/humidifier/magic.rb', line 95 def scaling_adjustment=(value) update_property('scaling_adjustment', value) end |
#step_adjustments ⇒ Object
returns the StepAdjustments property
100 101 102 |
# File 'lib/humidifier/magic.rb', line 100 def step_adjustments properties['step_adjustments'] end |
#step_adjustments=(value) ⇒ Object
sets the StepAdjustments property (List)
105 106 107 |
# File 'lib/humidifier/magic.rb', line 105 def step_adjustments=(value) update_property('step_adjustments', value) end |
#target_tracking_configuration ⇒ Object
returns the TargetTrackingConfiguration property
110 111 112 |
# File 'lib/humidifier/magic.rb', line 110 def target_tracking_configuration properties['target_tracking_configuration'] end |
#target_tracking_configuration=(value) ⇒ Object
sets the TargetTrackingConfiguration property (Structure)
115 116 117 |
# File 'lib/humidifier/magic.rb', line 115 def target_tracking_configuration=(value) update_property('target_tracking_configuration', value) end |