class
Amazonite::Lambda::TargetTrackingScalingPolicy
- Amazonite::Lambda::TargetTrackingScalingPolicy
- Reference
- Object
Overview
A scaling policy for the capacity provider that automatically adjusts capacity to maintain a target value for a specific metric.
Included Modules
- JSON::Serializable
Defined in:
lambda/target_tracking_scaling_policy.crConstructors
- .new(predefined_metric_type : CapacityProviderPredefinedMetricType, target_value : Float64)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) -
#predefined_metric_type : CapacityProviderPredefinedMetricType
The predefined metric type to track for scaling decisions.
-
#predefined_metric_type=(predefined_metric_type : CapacityProviderPredefinedMetricType)
The predefined metric type to track for scaling decisions.
-
#target_value : Float64
The target value for the metric that the scaling policy attempts to maintain through scaling actions.
-
#target_value=(target_value : Float64)
The target value for the metric that the scaling policy attempts to maintain through scaling actions.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The predefined metric type to track for scaling decisions.
The predefined metric type to track for scaling decisions.
The target value for the metric that the scaling policy attempts to maintain through scaling actions.
The target value for the metric that the scaling policy attempts to maintain through scaling actions.