interface IAlarmAction
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CloudWatch.IAlarmAction |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscloudwatch#IAlarmAction |
Java | software.amazon.awscdk.services.cloudwatch.IAlarmAction |
Python | aws_cdk.aws_cloudwatch.IAlarmAction |
TypeScript (source) | aws-cdk-lib » aws_cloudwatch » IAlarmAction |
Implemented by
Application, Auto, Ec2, Lambda, Sns, Ssm, 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
Go
Java
Python
TypeScript (