Show / Hide Table of Contents

Interface IStepScalingActionProps

Properties for a scaling policy.

Namespace: Amazon.CDK.AWS.ApplicationAutoScaling
Assembly: Amazon.CDK.AWS.ApplicationAutoScaling.dll
Syntax (csharp)
public interface IStepScalingActionProps
Syntax (vb)
Public Interface IStepScalingActionProps

Synopsis

Properties

AdjustmentType

How the adjustment numbers are interpreted.

Cooldown

Grace period after scaling activity.

MetricAggregationType

The aggregation type for the CloudWatch metrics.

MinAdjustmentMagnitude

Minimum absolute number to adjust capacity with as result of percentage scaling.

PolicyName

A name for the scaling policy.

ScalingTarget

The scalable target.

Properties

AdjustmentType

How the adjustment numbers are interpreted.

virtual Nullable<AdjustmentType> AdjustmentType { get; }
Property Value

System.Nullable<AdjustmentType>

Remarks

Default: ChangeInCapacity

Cooldown

Grace period after scaling activity.

virtual Duration Cooldown { get; }
Property Value

Duration

Remarks

For scale out policies, multiple scale outs during the cooldown period are squashed so that only the biggest scale out happens.

For scale in policies, subsequent scale ins during the cooldown period are ignored.

Default: No cooldown period

See: https://docs.aws.amazon.com/autoscaling/application/APIReference/API_StepScalingPolicyConfiguration.html

MetricAggregationType

The aggregation type for the CloudWatch metrics.

virtual Nullable<MetricAggregationType> MetricAggregationType { get; }
Property Value

System.Nullable<MetricAggregationType>

Remarks

Default: Average

MinAdjustmentMagnitude

Minimum absolute number to adjust capacity with as result of percentage scaling.

virtual Nullable<double> MinAdjustmentMagnitude { get; }
Property Value

System.Nullable<System.Double>

Remarks

Only when using AdjustmentType = PercentChangeInCapacity, this number controls the minimum absolute effect size.

Default: No minimum scaling effect

PolicyName

A name for the scaling policy.

virtual string PolicyName { get; }
Property Value

System.String

Remarks

Default: Automatically generated name

ScalingTarget

The scalable target.

IScalableTarget ScalingTarget { get; }
Property Value

IScalableTarget

Back to top Generated by DocFX