AdjustmentTier Struct
An adjustment.
| Source | aws-applicationautoscaling/lib/step-scaling-action.ts |
|---|
Example
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
# 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
// 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();
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
};
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
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.
lowerBoundoptionalnumberlower_boundoptionalint | floatlowerBoundoptionalNumberLowerBoundoptionaldoubleLowerBoundoptional*float64 #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.
upperBoundoptionalnumberupper_boundoptionalint | floatupperBoundoptionalNumberUpperBoundoptionaldoubleUpperBoundoptional*float64 = +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.