Amazon EventBridge Scheduler for Amazon CloudWatch Alarm

Amazon EventBridge Scheduler → Amazon CloudWatch alarms

Create two Amazon EventBridge Scheduler schedules to enable and disable the action of a CloudWatch alarm

Two Amazon EventBridge Scheduler schedules will be used to enable and disable the action of a CloudWatch alarm.
This Terraform template creates a VPC, an EC2 instance and two schedules that invokes the enableAlarmActions and disableAlarmActions API regularly.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/eventbridge-schedule-to-cloudwatch-alarm-terraform

Deploy

See the GitHub repo for detailed deployment instructions.


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: terraform destroy.

Created by:

Edwin So

Edwin So

Cloud Support Engineer @ AWS | CloudWatch SME

Follow on LinkedIn