Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alarms ¶
type Alarms struct {
LowerAlarmIntervalIndex *float64 `field:"optional" json:"lowerAlarmIntervalIndex" yaml:"lowerAlarmIntervalIndex"`
UpperAlarmIntervalIndex *float64 `field:"optional" json:"upperAlarmIntervalIndex" yaml:"upperAlarmIntervalIndex"`
}
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"
alarms := &Alarms{
LowerAlarmIntervalIndex: jsii.Number(123),
UpperAlarmIntervalIndex: jsii.Number(123),
}
type ArbitraryIntervals ¶
type ArbitraryIntervals struct {
Absolute *bool `field:"required" json:"absolute" yaml:"absolute"`
Intervals *[]*ScalingInterval `field:"required" json:"intervals" yaml:"intervals"`
}
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"
arbitraryIntervals := &ArbitraryIntervals{
Absolute: jsii.Boolean(false),
Intervals: []scalingInterval{
&scalingInterval{
Change: jsii.Number(123),
// the properties below are optional
Lower: jsii.Number(123),
Upper: jsii.Number(123),
},
},
}
type CompleteScalingInterval ¶
type CompleteScalingInterval struct {
Lower *float64 `field:"required" json:"lower" yaml:"lower"`
Upper *float64 `field:"required" json:"upper" yaml:"upper"`
Change *float64 `field:"optional" json:"change" yaml:"change"`
}
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"
completeScalingInterval := &CompleteScalingInterval{
Lower: jsii.Number(123),
Upper: jsii.Number(123),
// the properties below are optional
Change: jsii.Number(123),
}
type IRandomGenerator ¶
type ScalingInterval ¶
type ScalingInterval struct {
// The capacity adjustment to apply in this interval.
//
// The number is interpreted differently based on AdjustmentType:
//
// - ChangeInCapacity: add the adjustment to the current capacity.
// The number can be positive or negative.
// - PercentChangeInCapacity: add or remove the given percentage of the current
// capacity to itself. The number can be in the range [-100..100].
// - ExactCapacity: set the capacity to this number. The number must
// be positive.
Change *float64 `field:"required" json:"change" yaml:"change"`
// The lower bound of the interval.
//
// The scaling adjustment will be applied if the metric is higher than this value.
// Default: Threshold automatically derived from neighbouring intervals.
//
Lower *float64 `field:"optional" json:"lower" yaml:"lower"`
// The upper bound of the interval.
//
// The scaling adjustment will be applied if the metric is lower than this value.
// Default: Threshold automatically derived from neighbouring intervals.
//
Upper *float64 `field:"optional" json:"upper" yaml:"upper"`
}
A range of metric values in which to apply a certain scaling operation.
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"
scalingInterval := &ScalingInterval{
Change: jsii.Number(123),
// the properties below are optional
Lower: jsii.Number(123),
Upper: jsii.Number(123),
}
Click to show internal directories.
Click to hide internal directories.