Can AWS CloudWatch alarms be paused/disabled during specific hours?

前端 未结 4 924
野趣味
野趣味 2020-12-30 02:15

I want to automatically toggle alarms on/off during specific periods of time so that they do not fire during maintenance windows. I\'m doubting that an easy or direct method

4条回答
  •  情深已故
    2020-12-30 02:58

    It's not automatic but it can be done:

    http://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_EnableAlarmActions.html

    What you want to do is: right before the maintenance window starts you Disable the alarm actions. As the windows ends you Enable the alarm actions.

提交回复
热议问题