@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-20T22:19:57.970Z") public interface StepScalingPolicyProps extends BasicStepScalingPolicyProps
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.applicationautoscaling.*; import software.amazon.awscdk.services.cloudwatch.*; import software.amazon.awscdk.core.*; 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();
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()
The scaling target.
|
getAdjustmentType, getCooldown, getDatapointsToAlarm, getEvaluationPeriods, getMetric, getMetricAggregationType, getMinAdjustmentMagnitude, getScalingSteps
IScalableTarget getScalingTarget()
static StepScalingPolicyProps.Builder builder()
builder
in interface BasicStepScalingPolicyProps
StepScalingPolicyProps.Builder
of StepScalingPolicyProps