Interface AdjustmentTier
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AdjustmentTier.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:30.853Z")
@Stability(Stable)
public interface AdjustmentTier
extends software.amazon.jsii.JsiiSerializable
An adjustment.
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.applicationautoscaling.*;
AdjustmentTier adjustmentTier = AdjustmentTier.builder()
.adjustment(123)
// the properties below are optional
.lowerBound(123)
.upperBound(123)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAdjustmentTierstatic final classAn implementation forAdjustmentTier -
Method Summary
Modifier and TypeMethodDescriptionstatic AdjustmentTier.Builderbuilder()What number to adjust the capacity with.default NumberLower bound where this scaling tier applies.default NumberUpper bound where this scaling tier applies.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAdjustment
What number to adjust the capacity with.The number is interpreted as an added capacity, a new fixed capacity or an added percentage depending on the AdjustmentType value of the StepScalingPolicy.
Can be positive or negative.
-
getLowerBound
Lower bound where this scaling tier applies.The scaling tier applies if the difference between the metric value and its alarm threshold is higher than this value.
Default: -Infinity if this is the first tier, otherwise the upperBound of the previous tier
-
getUpperBound
Upper bound where this scaling tier applies.The scaling tier applies if the difference between the metric value and its alarm threshold is lower than this value.
Default: +Infinity
-
builder
- Returns:
- a
AdjustmentTier.BuilderofAdjustmentTier
-