class Aws::ApplicationAutoScaling::Types::StepAdjustment

Represents a step adjustment for a [StepScalingPolicyConfiguration]. Describes an adjustment based on the difference between the value of the aggregated CloudWatch metric and the breach threshold that you've defined for the alarm.

For the following examples, suppose that you have an alarm with a breach threshold of 50:

There are a few rules for the step adjustments for your step policy:

[1]: docs.aws.amazon.com/autoscaling/application/APIReference/API_StepScalingPolicyConfiguration.html

@note When making an API call, you may pass StepAdjustment

data as a hash:

    {
      metric_interval_lower_bound: 1.0,
      metric_interval_upper_bound: 1.0,
      scaling_adjustment: 1, # required
    }

@!attribute [rw] metric_interval_lower_bound

The lower bound for the difference between the alarm threshold and
the CloudWatch metric. If the metric value is above the breach
threshold, the lower bound is inclusive (the metric must be greater
than or equal to the threshold plus the lower bound). Otherwise, it
is exclusive (the metric must be greater than the threshold plus the
lower bound). A null value indicates negative infinity.
@return [Float]

@!attribute [rw] metric_interval_upper_bound

The upper bound for the difference between the alarm threshold and
the CloudWatch metric. If the metric value is above the breach
threshold, the upper bound is exclusive (the metric must be less
than the threshold plus the upper bound). Otherwise, it is inclusive
(the metric must be less than or equal to the threshold plus the
upper bound). A null value indicates positive infinity.

The upper bound must be greater than the lower bound.
@return [Float]

@!attribute [rw] scaling_adjustment

The amount by which to scale, based on the specified adjustment
type. A positive value adds to the current capacity while a negative
number removes from the current capacity. For exact capacity, you
must specify a positive value.
@return [Integer]

@see docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/StepAdjustment AWS API Documentation

Constants

SENSITIVE