@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:00.430Z") @Stability(value=Experimental) public interface StepScalingActionProps extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
StepScalingActionProps.Builder
A builder for
StepScalingActionProps |
static class |
StepScalingActionProps.Jsii$Proxy
An implementation for
StepScalingActionProps |
| Modifier and Type | Method and Description |
|---|---|
static StepScalingActionProps.Builder |
builder() |
default AdjustmentType |
getAdjustmentType()
(experimental) How the adjustment numbers are interpreted.
|
default Duration |
getCooldown()
(experimental) Grace period after scaling activity.
|
default MetricAggregationType |
getMetricAggregationType()
(experimental) The aggregation type for the CloudWatch metrics.
|
default Number |
getMinAdjustmentMagnitude()
(experimental) Minimum absolute number to adjust capacity with as result of percentage scaling.
|
default String |
getPolicyName()
(experimental) A name for the scaling policy.
|
IScalableTarget |
getScalingTarget()
(experimental) The scalable target.
|
@Stability(value=Experimental) @NotNull IScalableTarget getScalingTarget()
@Stability(value=Experimental) @Nullable default AdjustmentType getAdjustmentType()
Default: ChangeInCapacity
@Stability(value=Experimental) @Nullable default Duration getCooldown()
For scale out policies, multiple scale outs during the cooldown period are squashed so that only the biggest scale out happens.
For scale in policies, 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=Experimental) @Nullable default MetricAggregationType getMetricAggregationType()
Default: Average
@Stability(value=Experimental) @Nullable default Number getMinAdjustmentMagnitude()
Only when using AdjustmentType = PercentChangeInCapacity, this number controls the minimum absolute effect size.
Default: No minimum scaling effect
@Stability(value=Experimental) @Nullable default String getPolicyName()
Default: Automatically generated name
@Stability(value=Experimental) static StepScalingActionProps.Builder builder()
StepScalingActionProps.Builder of StepScalingActionPropsCopyright © 2021. All rights reserved.