-
Notifications
You must be signed in to change notification settings - Fork 17
/
AdjustmentTier.go
39 lines (36 loc) · 1.29 KB
/
AdjustmentTier.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package awsapplicationautoscaling
// An adjustment.
//
// Example:
// // 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),
// }
//
type AdjustmentTier struct {
// 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.
Adjustment *float64 `field:"required" json:"adjustment" yaml:"adjustment"`
// 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.
LowerBound *float64 `field:"optional" json:"lowerBound" yaml:"lowerBound"`
// 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.
UpperBound *float64 `field:"optional" json:"upperBound" yaml:"upperBound"`
}