Class ScalingInterval
A range of metric values in which to apply a certain scaling operation.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.AutoScaling.Common
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ScalingInterval : Object, IScalingInterval
Syntax (vb)
Public Class ScalingInterval
Inherits Object
Implements IScalingInterval
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AutoScaling.Common;
var scalingInterval = new ScalingInterval {
Change = 123,
// the properties below are optional
Lower = 123,
Upper = 123
};
Synopsis
Constructors
ScalingInterval() |
Properties
Change | The capacity adjustment to apply in this interval. |
Lower | The lower bound of the interval. |
Upper | The upper bound of the interval. |
Constructors
ScalingInterval()
public ScalingInterval()
Properties
Change
The capacity adjustment to apply in this interval.
public double Change { get; set; }
Property Value
System.Double
Remarks
The number is interpreted differently based on AdjustmentType:
Lower
The lower bound of the interval.
public Nullable<double> Lower { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
The scaling adjustment will be applied if the metric is higher than this value.
Default: Threshold automatically derived from neighbouring intervals
Upper
The upper bound of the interval.
public Nullable<double> Upper { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
The scaling adjustment will be applied if the metric is lower than this value.
Default: Threshold automatically derived from neighbouring intervals