@Generated(value="jsii-pacmak/1.24.0 (build b722f66)", date="2021-03-11T13:47:04.963Z") @Stability(value=Stable) public interface BasicStepScalingPolicyProps extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
BasicStepScalingPolicyProps.Builder
A builder for
BasicStepScalingPolicyProps |
static class |
BasicStepScalingPolicyProps.Jsii$Proxy
An implementation for
BasicStepScalingPolicyProps |
| Modifier and Type | Method and Description |
|---|---|
static BasicStepScalingPolicyProps.Builder |
builder() |
default AdjustmentType |
getAdjustmentType()
How the adjustment numbers inside 'intervals' are interpreted.
|
default Duration |
getCooldown()
Grace period after scaling activity.
|
default Duration |
getEstimatedInstanceWarmup()
Estimated time until a newly launched instance can send metrics to CloudWatch.
|
IMetric |
getMetric()
Metric to scale on.
|
default Number |
getMinAdjustmentMagnitude()
Minimum absolute number to adjust capacity with as result of percentage scaling.
|
List<ScalingInterval> |
getScalingSteps()
The intervals for scaling.
|
@Stability(value=Stable) @NotNull IMetric getMetric()
@Stability(value=Stable) @NotNull List<ScalingInterval> getScalingSteps()
Maps a range of metric values to a particular scaling behavior.
@Stability(value=Stable) @Nullable default AdjustmentType getAdjustmentType()
Default: ChangeInCapacity
@Stability(value=Stable) @Nullable default Duration getCooldown()
Default: Default cooldown period on your AutoScalingGroup
@Stability(value=Stable) @Nullable default Duration getEstimatedInstanceWarmup()
Default: Same as the cooldown
@Stability(value=Stable) @Nullable default Number getMinAdjustmentMagnitude()
Only when using AdjustmentType = PercentChangeInCapacity, this number controls the minimum absolute effect size.
Default: No minimum scaling effect
@Stability(value=Stable) static BasicStepScalingPolicyProps.Builder builder()
Copyright © 2021. All rights reserved.