---
title: "Comment by Harish Pandey on \"Automate Disabling And Re-enabling AWS Cloudwatch Alarms During Maintenance Window\" | Hashnode"
description: "Hi Dheeraj, Nice blog , I have similar situation where we receive so many cloudwatch alerts during maintenance which are mostly non actionable. I would like to"
url: "https://hashnode.com/posts/automate-disabling-and-re-enabling-aws-cloudwatch-alarms-during-maintenance-window/61d5c738e2f29f0805e13d67/comment/627056799ed78401a6408848"
---

[Discussion](https://hashnode.com/posts/automate-disabling-and-re-enabling-aws-cloudwatch-alarms-during-maintenance-window/61d5c738e2f29f0805e13d67)

Comment [Automate Disabling And Re-enabling AWS Cloudwatch Alarms During Maintenance Window](https://hashnode.com/posts/automate-disabling-and-re-enabling-aws-cloudwatch-alarms-during-maintenance-window/61d5c738e2f29f0805e13d67)

[Harish Pandey](https://hashnode.com/@harishnpandey)

[May 2, 2022](https://hashnode.com/posts/automate-disabling-and-re-enabling-aws-cloudwatch-alarms-during-maintenance-window/61d5c738e2f29f0805e13d67/comment/627056799ed78401a6408848)

Hi Dheeraj,

Nice blog , I have similar situation where we receive so many cloudwatch alerts during maintenance which are mostly non actionable.

I would like to know , how we can use above script to connect to AWS account and disable alarms only for my applications without touching others.

In short where we can run above script as for now we only have read only access to AWS account.

1) Connect to AWS account 2) Disable only my application specific alarms (AWS account is shared by multiple application team )

Appreciate your guidance on above ask.

Thanks, Harish

[Dheeraj Choudhary](https://hashnode.com/@Dheeraj-Choudhary)

[May 3, 2022](https://hashnode.com/posts/automate-disabling-and-re-enabling-aws-cloudwatch-alarms-during-maintenance-window/61d5c738e2f29f0805e13d67/comment/627056799ed78401a6408848#reply-6270c4149ed78401a6408dde)

With read only access this might not run. What you can do is you can write lambda function within the accounts and create one jenkins job to invoke these lambda function based on your maintainence window.
