@Generated(value="jsii-pacmak/1.24.0 (build b722f66)", date="2021-03-11T13:46:22.351Z") @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.
|
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()
Subsequent scale outs during the cooldown period are squashed so that only the biggest scale out happens.
Subsequent scale ins during the cooldown period are ignored.
Default: No cooldown period
https://docs.aws.amazon.com/autoscaling/application/APIReference/API_StepScalingPolicyConfiguration.html@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.