Interface StepScalingPolicyProps
- All Superinterfaces:
BasicStepScalingPolicyProps,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
StepScalingPolicyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:30.916Z")
@Stability(Stable)
public interface StepScalingPolicyProps
extends software.amazon.jsii.JsiiSerializable, BasicStepScalingPolicyProps
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
import software.amazon.awscdk.services.applicationautoscaling.*;
import software.amazon.awscdk.services.cloudwatch.*;
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.minutes(30))
.datapointsToAlarm(123)
.evaluationPeriods(123)
.metricAggregationType(MetricAggregationType.AVERAGE)
.minAdjustmentMagnitude(123)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forStepScalingPolicyPropsstatic final classAn implementation forStepScalingPolicyProps -
Method Summary
Methods inherited from interface software.amazon.awscdk.services.applicationautoscaling.BasicStepScalingPolicyProps
getAdjustmentType, getCooldown, getDatapointsToAlarm, getEvaluationPeriods, getMetric, getMetricAggregationType, getMinAdjustmentMagnitude, getScalingStepsMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getScalingTarget
The scaling target. -
builder
- Returns:
- a
StepScalingPolicyProps.BuilderofStepScalingPolicyProps
-