I have a Lambda Function that needs to be invoked biweekly on Sunday at 10am. I used the rate expression to set 14 days
as the rate period. However from the official documentation, I couldn't find a way to specify the Sunday at 10AM
part. How can I make that happen?
How to specify the first run time AWS CloudWatch Rate Expression?
462 views Asked by bappak At
1
If you're looking to do this you need to use a cron expression instead for the CloudWatch event.
The cron schedule
0 10 ? * 1 *
will cause the CloudWatch event to trigger every Sunday at 10 AM UTC. Be aware that regardless of your region that the cron will always evaluate in UTC so you may need to adjust the times to match your local region.More information is available in the cron expressions documentation.