Amazon EventBridge Scheduler to Amazon CloudWatch

Amazon EventBridge Scheduler → Amazon CloudWatch

Use EventBridge Scheduler to insert custom metric data into CloudWatch on a schedule

This sample project demonstrates how to use Amazon EventBridge Scheduler to publish your own metrics to CloudWatch on a schedule. This pattern leverages templated targets with EventBridge Scheduler to talk directly to CloudWatch using the PutEvents API operation.
This pattern deploys an EventBridge Schedule and the required IAM resource for Scheduler to interact with CloudWatch.

< 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-terraform

Deploy

terraform apply


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: terraform destroy.

Created by:

Ian Lodge

Ian Lodge

Ian is a Solutions Architect at Amazon Web Services based in the US.

Follow on LinkedIn