Skip to content
v2.278.0

IAlarmAction Interface ​

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

Methods ​

bind(scope: Construct, alarm: IAlarm): AlarmActionConfigdef bind(self, scope: Construct, alarm: IAlarm) -> AlarmActionConfigpublic AlarmActionConfig bind(Construct scope, IAlarm alarm)public AlarmActionConfig Bind(Construct scope, IAlarm alarm)func Bind(Scope Construct, Alarm IAlarm) AlarmActionConfig #
Return the properties required to send alarm actions to this CloudWatch alarm.
2 parameters

Parameters

  • scopescopescopescopeScope — root Construct that allows creating new Constructs.
  • alarmalarmalarmalarmAlarm — CloudWatch alarm that the action will target [disable-awslint:prefer-ref-interface].