Cody supports creating a CloudWatch scheduled event rule that will trigger the codebuild project periodically. You define the schedule in
.cody/schedule.rb. Here’s an example of what that looks like:
rate "1 day" # or # cron("0 10 * * ? *") # Run at 10:00 am (UTC) every day
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.
description "my description" schedule_expression "rate(1 day)"
Pro tip: Use the <- and -> arrow keys to move back and forward.