@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:41.987Z") @Stability(value=Experimental) public interface StepScalingPolicyProps extends software.amazon.jsii.JsiiSerializable, BasicStepScalingPolicyProps
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.core.*;
import software.amazon.awscdk.services.applicationautoscaling.*;
import software.amazon.awscdk.services.cloudwatch.*;
Duration duration;
Metric metric;
ScalableTarget scalableTarget;
StepScalingPolicyProps stepScalingPolicyProps = StepScalingPolicyProps.builder()
.metric(metric)
.scalingSteps(List.of(ScalingInterval.builder()
.change(123)
// the properties below are optional
.lower(123)
.upper(123)
.build()))
.scalingTarget(scalableTarget)
// the properties below are optional
.adjustmentType(AdjustmentType.CHANGE_IN_CAPACITY)
.cooldown(duration)
.datapointsToAlarm(123)
.evaluationPeriods(123)
.metricAggregationType(MetricAggregationType.AVERAGE)
.minAdjustmentMagnitude(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
StepScalingPolicyProps.Builder
A builder for
StepScalingPolicyProps |
static class |
StepScalingPolicyProps.Jsii$Proxy
An implementation for
StepScalingPolicyProps |
| Modifier and Type | Method and Description |
|---|---|
static StepScalingPolicyProps.Builder |
builder() |
IScalableTarget |
getScalingTarget()
(experimental) The scaling target.
|
getAdjustmentType, getCooldown, getDatapointsToAlarm, getEvaluationPeriods, getMetric, getMetricAggregationType, getMinAdjustmentMagnitude, getScalingSteps@Stability(value=Experimental) @NotNull IScalableTarget getScalingTarget()
@Stability(value=Experimental) static StepScalingPolicyProps.Builder builder()
builder in interface BasicStepScalingPolicyPropsStepScalingPolicyProps.Builder of StepScalingPolicyPropsCopyright © 2022. All rights reserved.