interface AdjustmentTier
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.ApplicationAutoScaling.AdjustmentTier |
Java | software.amazon.awscdk.services.applicationautoscaling.AdjustmentTier |
Python | aws_cdk.aws_applicationautoscaling.AdjustmentTier |
TypeScript (source) | @aws-cdk/aws-applicationautoscaling » AdjustmentTier |
An adjustment.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as appscaling from '@aws-cdk/aws-applicationautoscaling';
const adjustmentTier: appscaling.AdjustmentTier = {
adjustment: 123,
// the properties below are optional
lowerBound: 123,
upperBound: 123,
};
Properties
Name | Type | Description |
---|---|---|
adjustment | number | What number to adjust the capacity with. |
lower | number | Lower bound where this scaling tier applies. |
upper | number | Upper bound where this scaling tier applies. |
adjustment
Type:
number
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.
lowerBound?
Type:
number
(optional, default: -Infinity if this is the first tier, otherwise the upperBound of the previous tier)
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.
upperBound?
Type:
number
(optional, default: +Infinity)
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.