Last active
October 15, 2018 11:48
-
-
Save deegloo/55b679cb93be92f5b7dcaffe54925f95 to your computer and use it in GitHub Desktop.
Schedule AWS Lambda execution once per day using CloudWatch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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