Table of Contents

Class ScalingInterval

Namespace
Amazon.CDK.AWS.AutoScaling
Assembly
Amazon.CDK.AWS.AutoScaling.dll

A range of metric values in which to apply a certain scaling operation.

public class ScalingInterval : IScalingInterval
Inheritance
ScalingInterval
Implements
Inherited Members

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;

            var scalingInterval = new ScalingInterval {
                Change = 123,

                // the properties below are optional
                Lower = 123,
                Upper = 123
            };

Remarks

ExampleMetadata: fixture=_generated

Constructors

ScalingInterval()

public ScalingInterval()

Properties

Change

The capacity adjustment to apply in this interval.

public double Change { get; set; }

Property Value

double

Remarks

The number is interpreted differently based on AdjustmentType:

    Lower

    The lower bound of the interval.

    public double? Lower { get; set; }

    Property Value

    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 double? Upper { get; set; }

    Property Value

    double?

    Remarks

    The scaling adjustment will be applied if the metric is lower than this value.

    Default: Threshold automatically derived from neighbouring intervals