Interface AdjustmentTier
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AdjustmentTier.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-06T23:25:04.581Z")
@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.autoscaling.*; AdjustmentTier adjustmentTier = AdjustmentTier.builder() .adjustment(123) // the properties below are optional .lowerBound(123) .upperBound(123) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forAdjustmentTier
static final class
An implementation forAdjustmentTier
-
Method Summary
Modifier and TypeMethodDescriptionstatic AdjustmentTier.Builder
builder()
What number to adjust the capacity with.default Number
Lower bound where this scaling tier applies.default Number
Upper 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 interpeted 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.Builder
ofAdjustmentTier
-