interface IAlarmAction
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CloudWatch.IAlarmAction |
Java | software.amazon.awscdk.services.cloudwatch.IAlarmAction |
Python | aws_cdk.aws_cloudwatch.IAlarmAction |
TypeScript (source) | @aws-cdk/aws-cloudwatch » IAlarmAction |
Implemented by
Application, Auto, Ec2, Sns, Ssm
Interface for objects that can be the targets of CloudWatch alarm actions.
Methods
| Name | Description |
|---|---|
| bind(scope, alarm) | Return the properties required to send alarm actions to this CloudWatch alarm. |
bind(scope, alarm)
public bind(scope: Construct, alarm: IAlarm): AlarmActionConfig
Parameters
- scope
Construct— root Construct that allows creating new Constructs. - alarm
IAlarm— CloudWatch alarm that the action will target.
Returns
Return the properties required to send alarm actions to this CloudWatch alarm.

.NET
Java
Python
TypeScript (