# AdjustmentTier

An adjustment.

Used as argument in: [StepScalingAction.addAdjustment](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_applicationautoscaling.StepScalingAction.html#addadjustment)

- Source: [`aws-applicationautoscaling/lib/step-scaling-action.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-applicationautoscaling/lib/step-scaling-action.ts#L171)

## Example

TypeScript:

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

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

Python:

```python
# 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
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.applicationautoscaling.*;

AdjustmentTier adjustmentTier = AdjustmentTier.builder()
        .adjustment(123)

        // the properties below are optional
        .lowerBound(123)
        .upperBound(123)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ApplicationAutoScaling;

var adjustmentTier = new AdjustmentTier {
    Adjustment = 123,

    // the properties below are optional
    LowerBound = 123,
    UpperBound = 123
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

adjustmentTier := &AdjustmentTier{
	Adjustment: jsii.Number(123),

	// the properties below are optional
	LowerBound: jsii.Number(123),
	UpperBound: jsii.Number(123),
}
```

## Properties

- `adjustment`: number (required) — What number to adjust the capacity with.

  The number is interpreted 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`: number — Lower bound where this scaling tier applies.

  **Default:** -Infinity if this is the first tier, otherwise the upperBound of the previous tier

  The scaling tier applies if the difference between the metric
  value and its alarm threshold is higher than this value.

- `upperBound`: number = +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.
