Schedule DSL

Pipe Dream supports creating a CloudWatch scheduled event rule that will trigger the pipeline periodically. You define the schedule in .pipedream/schedule.rb. Here’s an example of what that looks like:

.pipedream/schedule.rb:

rate "1 day"
# or
# cron("0 10 * * ? *") # Run at 10:00 am (UTC) every day

Full DSL

The convenience methods merely wrap properties of the AWS::Events::Rule. If you wanted to set the CloudFormation properties more directly, here’s an example of using the Full DSL.

.pipedream/schedule.rb:

description "my description"
schedule_expression "rate(1 day)"

Pro tip: Use the <- and -> arrow keys to move back and forward.

Edit this page

See a typo or an error? You can improve this page. This website is available on GitHub, and contributions are encouraged and welcomed. We love pull requests from you!