@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.717Z") @Stability(value=Stable) public interface AdjustmentTier extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
AdjustmentTier.Builder
A builder for
AdjustmentTier |
static class |
AdjustmentTier.Jsii$Proxy
An implementation for
AdjustmentTier |
| Modifier and Type | Method and Description |
|---|---|
static AdjustmentTier.Builder |
builder() |
Number |
getAdjustment()
What number to adjust the capacity with.
|
default Number |
getLowerBound()
Lower bound where this scaling tier applies.
|
default Number |
getUpperBound()
Upper bound where this scaling tier applies.
|
@Stability(value=Stable) @NotNull Number getAdjustment()
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.
@Stability(value=Stable) @Nullable default Number getLowerBound()
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
@Stability(value=Stable) @Nullable default Number getUpperBound()
The scaling tier applies if the difference between the metric value and its alarm threshold is lower than this value.
Default: +Infinity
@Stability(value=Stable) static AdjustmentTier.Builder builder()
AdjustmentTier.Builder of AdjustmentTierCopyright © 2022. All rights reserved.