Class AutoScalingAction
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudwatch.actions.AutoScalingAction
- All Implemented Interfaces:
IAlarmAction
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:46.253Z")
@Stability(Stable)
public class AutoScalingAction
extends software.amazon.jsii.JsiiObject
implements IAlarmAction
Use an AutoScaling StepScalingAction as an Alarm Action.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.autoscaling.*; import software.amazon.awscdk.services.cloudwatch.actions.*; StepScalingAction stepScalingAction; AutoScalingAction autoScalingAction = new AutoScalingAction(stepScalingAction);
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudwatch.IAlarmAction
IAlarmAction.Jsii$Default, IAlarmAction.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionAutoScalingAction
(StepScalingAction stepScalingAction) protected
AutoScalingAction
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
AutoScalingAction
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionReturns an alarm action configuration to use an AutoScaling StepScalingAction as an alarm action.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
AutoScalingAction
protected AutoScalingAction(software.amazon.jsii.JsiiObjectRef objRef) -
AutoScalingAction
protected AutoScalingAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
AutoScalingAction
- Parameters:
stepScalingAction
- This parameter is required.
-
-
Method Details
-
bind
@Stability(Stable) @NotNull public AlarmActionConfig bind(@NotNull Construct _scope, @NotNull IAlarm _alarm) Returns an alarm action configuration to use an AutoScaling StepScalingAction as an alarm action.- Specified by:
bind
in interfaceIAlarmAction
- Parameters:
_scope
- This parameter is required._alarm
- This parameter is required.
-