Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add @schedule decorator for CloudWatch-triggered events #234

wants to merge 2 commits into from


None yet
2 participants
Copy link

commented Feb 7, 2017

First pass at solving Issue #231. It adds a new decorator that lets the user specify functions as the handler for CloudWatch timed alerts. Chalice can send handle periodic events at intervals of 1 minute or greater with crontab fidelity.

  1. The major code change is in call() method to detect one of the properties specific to these events and setting default values for some of the properties used to create the Request object.
  2. Rest of code is copy of route bookkeeping code.

If this pull request can be accepted (with whatever code review changes requested) I will write documentation and more tests.

CloudWatch allows quite a few more rules based on pattern matching of events, but I was focused on (what I assume) is the most valuable use for Chalice: timed events.

carlkibler added some commits Feb 7, 2017


This comment has been minimized.

Copy link

commented Jul 6, 2017

Cloudwatch events support was merged in according to this proposal so I am going to close this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.