DisableAlarmActions
Source:
src/AWS/CloudWatch/DisableAlarmActions.ts
Runtime binding for cloudwatch:DisableAlarmActions — suppress the
actions of the bound alarms (e.g. during a deploy or maintenance
window). Bind it to one or more Alarm / CompositeAlarm
resources; the alarm names are injected automatically. Re-enable with
EnableAlarmActions.
Provide CloudWatch.DisableAlarmActionsHttp on the hosting Lambda
Function to satisfy the requirement.
Managing Alarm Actions
Section titled “Managing Alarm Actions”// init — grants cloudwatch:DisableAlarmActions on the alarmconst disableAlarmActions = yield* AWS.CloudWatch.DisableAlarmActions(alarm);
// runtimeyield* disableAlarmActions();