How to disable actions for an alarm in AWS

0 votes

Hi Team,

I have created one alarm in AWS. I want to disable actions for the alarm. How can I do that with the CLI command?

Nov 18, 2020 in AWS by akhtar
• 38,170 points
202 views

1 answer to this question.

0 votes

Hi@akhtar,

You can disable the actions for the specified alarms. When an alarm's actions are disabled, the alarm actions do not execute when the alarm state changes. The following example uses the disable-alarm-actions command to disable all actions for the alarm.

$ aws cloudwatch disable-alarm-actions --alarm-names myalarm
answered Nov 18, 2020 by MD
• 95,060 points

Related Questions In AWS

0 votes
1 answer

How to delete an alarm in AWS?

Hi@akhtar, You can delete the specified alarms. You can ...READ MORE

answered Nov 17, 2020 in AWS by MD
• 95,060 points
51 views
0 votes
1 answer

How to create or update tags for an Auto Scaling group in AWS?

Hi@akhtar, You can create or update tags for the specified ...READ MORE

answered Nov 26, 2020 in AWS by MD
• 95,060 points
74 views
0 votes
1 answer

How to create a notification subscription for an event in AWS RedShift?

Hi@akhtar, You can create an Amazon Redshift event notification ...READ MORE

answered Nov 27, 2020 in AWS by MD
• 95,060 points
44 views
0 votes
1 answer
+1 vote
2 answers
0 votes
1 answer

How to setup an alarm when Lambda function fails in AWS?

Hi@akhtar, To create an Alarm for Lambda function, ...READ MORE

answered Apr 2, 2020 in AWS by MD
• 95,060 points
539 views
0 votes
1 answer

How to create an access key for an IAM user in AWS?

Hi@akhtar, You can create a new AWS secret ...READ MORE

answered Nov 3, 2020 in AWS by MD
• 95,060 points
55 views