Interface IStepScalingPolicyProps
Inherited Members
Namespace: Amazon.CDK.AWS.ApplicationAutoScaling
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IStepScalingPolicyProps : IBasicStepScalingPolicyProps
Syntax (vb)
Public Interface IStepScalingPolicyProps
Inherits IBasicStepScalingPolicyProps
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;
using Amazon.CDK.AWS.ApplicationAutoScaling;
using Amazon.CDK.AWS.CloudWatch;
Metric metric;
ScalableTarget scalableTarget;
var stepScalingPolicyProps = new StepScalingPolicyProps {
Metric = metric,
ScalingSteps = new [] { new ScalingInterval {
Change = 123,
// the properties below are optional
Lower = 123,
Upper = 123
} },
ScalingTarget = scalableTarget,
// the properties below are optional
AdjustmentType = AdjustmentType.CHANGE_IN_CAPACITY,
Cooldown = Duration.Minutes(30),
DatapointsToAlarm = 123,
EvaluationPeriods = 123,
MetricAggregationType = MetricAggregationType.AVERAGE,
MinAdjustmentMagnitude = 123
};
Synopsis
Properties
ScalingTarget | The scaling target. |