Files
agent-claw/cdk/node_modules/aws-cdk-lib/aws-cloudwatch/lib/alarm-action.d.ts
2026-05-06 18:55:16 -05:00

24 lines
760 B
TypeScript

import type { Construct } from 'constructs';
import type { IAlarm } from './alarm-base';
/**
* Interface for objects that can be the targets of CloudWatch alarm actions
*/
export interface IAlarmAction {
/**
* Return the properties required to send alarm actions to this CloudWatch alarm.
*
* @param scope root Construct that allows creating new Constructs
* @param alarm CloudWatch alarm that the action will target [disable-awslint:prefer-ref-interface]
*/
bind(scope: Construct, alarm: IAlarm): AlarmActionConfig;
}
/**
* Properties for an alarm action
*/
export interface AlarmActionConfig {
/**
* Return the ARN that should be used for a CloudWatch Alarm action
*/
readonly alarmActionArn: string;
}