IAlarmAction

class aws_cdk.aws_cloudwatch.IAlarmAction(*args, **kwds)

Bases: Protocol

Interface for objects that can be the targets of CloudWatch alarm actions.

Methods

bind(scope, alarm)

Return the properties required to send alarm actions to this CloudWatch alarm.

Parameters:
  • scope (Construct) – root Construct that allows creating new Constructs.

  • alarm (IAlarm) – CloudWatch alarm that the action will target.

Return type:

AlarmActionConfig