AdjustmentTier

class aws_cdk.aws_applicationautoscaling.AdjustmentTier(*, adjustment, lower_bound=None, upper_bound=None)

Bases: object

__init__(*, adjustment, lower_bound=None, upper_bound=None)

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 tier

  • upper_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

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.

Return type

Union[int, float]

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 :default: -Infinity if this is the first tier, otherwise the upperBound of the previous tier

Return type

Union[int, float, None]

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 :default: +Infinity

Return type

Union[int, float, None]