Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Schedule AWS Lambda execution once per day using CloudWatch
NotifierLambdaScheduledRule:
Type: AWS::Events::Rule
Properties:
Name: 'notifier-scheduled-rule'
Description: 'Triggers notifier lambda once per day'
ScheduleExpression: cron(0 7 ? * * *)
State: ENABLED
Targets:
-
Arn: !GetAtt NotifierLambda.Arn
Id: TargetFunctionV1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment