ApplicationScalingAction

class aws_cdk.aws_cloudwatch_actions.ApplicationScalingAction(step_scaling_action)

Bases: object

Use an ApplicationAutoScaling 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 aws_cdk.aws_applicationautoscaling as appscaling
import aws_cdk.aws_cloudwatch_actions as cloudwatch_actions

# step_scaling_action is of type StepScalingAction

application_scaling_action = cloudwatch_actions.ApplicationScalingAction(step_scaling_action)
Parameters

step_scaling_action (StepScalingAction) –

Methods

bind(_scope, _alarm)

Returns an alarm action configuration to use an ApplicationScaling StepScalingAction as an alarm action.

Parameters
Return type

AlarmActionConfig