@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:01.096Z") @Stability(value=Experimental) 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()
(experimental) How the adjustment numbers inside 'intervals' are interpreted.
|
default Duration |
getCooldown()
(experimental) Grace period after scaling activity.
|
default Duration |
getEstimatedInstanceWarmup()
(experimental) Estimated time until a newly launched instance can send metrics to CloudWatch.
|
default Number |
getEvaluationPeriods()
(experimental) How many evaluation periods of the metric to wait before triggering a scaling action.
|
IMetric |
getMetric()
(experimental) Metric to scale on.
|
default MetricAggregationType |
getMetricAggregationType()
(experimental) Aggregation to apply to all data points over the evaluation periods.
|
default Number |
getMinAdjustmentMagnitude()
(experimental) Minimum absolute number to adjust capacity with as result of percentage scaling.
|
List<ScalingInterval> |
getScalingSteps()
(experimental) The intervals for scaling.
|
@Stability(value=Experimental) @NotNull IMetric getMetric()
@Stability(value=Experimental) @NotNull List<ScalingInterval> getScalingSteps()
Maps a range of metric values to a particular scaling behavior.
@Stability(value=Experimental) @Nullable default AdjustmentType getAdjustmentType()
Default: ChangeInCapacity
@Stability(value=Experimental) @Nullable default Duration getCooldown()
Default: Default cooldown period on your AutoScalingGroup
@Stability(value=Experimental) @Nullable default Duration getEstimatedInstanceWarmup()
Default: Same as the cooldown
@Stability(value=Experimental) @Nullable default Number getEvaluationPeriods()
Raising this value can be used to smooth out the metric, at the expense of slower response times.
Default: 1
@Stability(value=Experimental) @Nullable default MetricAggregationType getMetricAggregationType()
Only has meaning if evaluationPeriods != 1.
Default: - The statistic from the metric if applicable (MIN, MAX, AVERAGE), otherwise 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) static BasicStepScalingPolicyProps.Builder builder()
Copyright © 2021. All rights reserved.