AdjustmentTier
- class aws_cdk.aws_applicationautoscaling.AdjustmentTier(*, adjustment, lower_bound=None, upper_bound=None)
Bases:
object
An adjustment.
- Parameters:
adjustment (
Union
[int
,float
]) – 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.lower_bound (
Union
[int
,float
,None
]) – 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 tierupper_bound (
Union
[int
,float
,None
]) – 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
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_applicationautoscaling as appscaling adjustment_tier = appscaling.AdjustmentTier( adjustment=123, # the properties below are optional lower_bound=123, upper_bound=123 )
Attributes
- adjustment
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.
- lower_bound
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
- upper_bound
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