ScalingInterval

class aws_cdk.aws_autoscaling_common.ScalingInterval(*, change, lower=None, upper=None)

Bases: object

(experimental) A range of metric values in which to apply a certain scaling operation.

Parameters
  • change (Union[int, float]) – (experimental) The capacity adjustment to apply in this interval. The number is interpreted differently based on AdjustmentType: - ChangeInCapacity: add the adjustment to the current capacity. The number can be positive or negative. - PercentChangeInCapacity: add or remove the given percentage of the current capacity to itself. The number can be in the range [-100..100]. - ExactCapacity: set the capacity to this number. The number must be positive.

  • lower (Union[int, float, None]) – (experimental) The lower bound of the interval. The scaling adjustment will be applied if the metric is higher than this value. Default: Threshold automatically derived from neighbouring intervals

  • upper (Union[int, float, None]) – (experimental) The upper bound of the interval. The scaling adjustment will be applied if the metric is lower than this value. Default: Threshold automatically derived from neighbouring intervals

Stability

experimental

Attributes

change

(experimental) The capacity adjustment to apply in this interval.

The number is interpreted differently based on AdjustmentType:

  • ChangeInCapacity: add the adjustment to the current capacity. The number can be positive or negative.

  • PercentChangeInCapacity: add or remove the given percentage of the current capacity to itself. The number can be in the range [-100..100].

  • ExactCapacity: set the capacity to this number. The number must be positive.

Stability

experimental

Return type

Union[int, float]

lower

(experimental) The lower bound of the interval.

The scaling adjustment will be applied if the metric is higher than this value.

Default

Threshold automatically derived from neighbouring intervals

Stability

experimental

Return type

Union[int, float, None]

upper

(experimental) The upper bound of the interval.

The scaling adjustment will be applied if the metric is lower than this value.

Default

Threshold automatically derived from neighbouring intervals

Stability

experimental

Return type

Union[int, float, None]