Interface StepScalingPolicyProps
- All Superinterfaces:
BasicStepScalingPolicyProps
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
StepScalingPolicyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-25T14:21:10.677Z")
@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.autoscaling.*; import software.amazon.awscdk.services.cloudwatch.*; AutoScalingGroup autoScalingGroup; Metric metric; StepScalingPolicyProps stepScalingPolicyProps = StepScalingPolicyProps.builder() .autoScalingGroup(autoScalingGroup) .metric(metric) .scalingSteps(List.of(ScalingInterval.builder() .change(123) // the properties below are optional .lower(123) .upper(123) .build())) // the properties below are optional .adjustmentType(AdjustmentType.CHANGE_IN_CAPACITY) .cooldown(Duration.minutes(30)) .datapointsToAlarm(123) .estimatedInstanceWarmup(Duration.minutes(30)) .evaluationPeriods(123) .metricAggregationType(MetricAggregationType.AVERAGE) .minAdjustmentMagnitude(123) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forStepScalingPolicyProps
static final class
An implementation forStepScalingPolicyProps
-
Method Summary
Methods inherited from interface software.amazon.awscdk.services.autoscaling.BasicStepScalingPolicyProps
getAdjustmentType, getCooldown, getDatapointsToAlarm, getEstimatedInstanceWarmup, getEvaluationPeriods, getMetric, getMetricAggregationType, getMinAdjustmentMagnitude, getScalingSteps
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAutoScalingGroup
The auto scaling group. -
builder
- Returns:
- a
StepScalingPolicyProps.Builder
ofStepScalingPolicyProps
-