Class AutoScalingAction
Use an AutoScaling StepScalingAction as an Alarm Action.
Inheritance
System.Object
AutoScalingAction
Implements
Namespace: Amazon.CDK.AWS.CloudWatch.Actions
Assembly: Amazon.CDK.AWS.CloudWatch.Actions.dll
Syntax (csharp)
public class AutoScalingAction : DeputyBase, IAlarmAction
Syntax (vb)
Public Class AutoScalingAction
Inherits DeputyBase
Implements IAlarmAction
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;
using Amazon.CDK.AWS.CloudWatch.Actions;
StepScalingAction stepScalingAction;
var autoScalingAction = new AutoScalingAction(stepScalingAction);
Synopsis
Constructors
AutoScalingAction(StepScalingAction) | |
AutoScalingAction(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
AutoScalingAction(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Methods
Bind(Construct, IAlarm) | Returns an alarm action configuration to use an AutoScaling StepScalingAction as an alarm action. |
Constructors
AutoScalingAction(StepScalingAction)
public AutoScalingAction(StepScalingAction stepScalingAction)
Parameters
- stepScalingAction StepScalingAction
AutoScalingAction(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected AutoScalingAction(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
AutoScalingAction(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected AutoScalingAction(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Methods
Bind(Construct, IAlarm)
Returns an alarm action configuration to use an AutoScaling StepScalingAction as an alarm action.
public virtual IAlarmActionConfig Bind(Construct scope, IAlarm alarm)
Parameters
Returns