Interface StepScalingPolicyProps
- All Superinterfaces:
BasicStepScalingPolicyProps
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
StepScalingPolicyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:45.420Z")
@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.services.autoscaling.*; import software.amazon.awscdk.services.cloudwatch.*; import software.amazon.awscdk.core.*; 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)) .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, 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
-