Show / Hide Table of Contents

Class StepScalingActionProps

Properties for a scaling policy.

Inheritance
System.Object
StepScalingActionProps
Implements
IStepScalingActionProps
Namespace: Amazon.CDK.AWS.ApplicationAutoScaling
Assembly: Amazon.CDK.AWS.ApplicationAutoScaling.dll
Syntax (csharp)
public class StepScalingActionProps : Object, IStepScalingActionProps
Syntax (vb)
Public Class StepScalingActionProps
    Inherits Object
    Implements IStepScalingActionProps

Synopsis

Constructors

StepScalingActionProps()

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.

Constructors

StepScalingActionProps()

public StepScalingActionProps()

Properties

AdjustmentType

How the adjustment numbers are interpreted.

public Nullable<AdjustmentType> AdjustmentType { get; set; }
Property Value

System.Nullable<AdjustmentType>

Remarks

Default: ChangeInCapacity

Cooldown

Grace period after scaling activity.

public Duration Cooldown { get; set; }
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.

public Nullable<MetricAggregationType> MetricAggregationType { get; set; }
Property Value

System.Nullable<MetricAggregationType>

Remarks

Default: Average

MinAdjustmentMagnitude

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

public Nullable<double> MinAdjustmentMagnitude { get; set; }
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.

public string PolicyName { get; set; }
Property Value

System.String

Remarks

Default: Automatically generated name

ScalingTarget

The scalable target.

public IScalableTarget ScalingTarget { get; set; }
Property Value

IScalableTarget

Implements

IStepScalingActionProps
Back to top Generated by DocFX