aws-cdk-lib.aws_autoscaling.AdjustmentTier

interface AdjustmentTier

LanguageType name
.NETAmazon.CDK.AWS.AutoScaling.AdjustmentTier
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsautoscaling#AdjustmentTier
Javasoftware.amazon.awscdk.services.autoscaling.AdjustmentTier
Pythonaws_cdk.aws_autoscaling.AdjustmentTier
TypeScript (source)aws-cdk-lib » aws_autoscaling » AdjustmentTier

An adjustment.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_autoscaling as autoscaling } from 'aws-cdk-lib';
const adjustmentTier: autoscaling.AdjustmentTier = {
  adjustment: 123,

  // the properties below are optional
  lowerBound: 123,
  upperBound: 123,
};

Properties

NameTypeDescription
adjustmentnumberWhat number to adjust the capacity with.
lowerBound?numberLower bound where this scaling tier applies.
upperBound?numberUpper 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.