2 Answers
- Newest
- Most votes
- Most comments
1
Hello.
I have handled something similar in the past, but at that time I created a Lambda that checked the Lambda's CloudWatch Logs every day, and created code that sent data to CloudWatch metrics only if the execution was successful.
1
Hi,
I think that what you're looking for is Amazon EventBridge scheduler: it allows you to run specific tasks at given moment.
See https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-create-rule-schedule.html
In your case, you can schedule your existing lambda via the scheduler to execute what it has to do, if needed and a least once a week.
Or you can schedule a second one that monitors the CloudWatch invocation metric for this Lambda.
Best,
Didier
Relevant content
- AWS OFFICIALUpdated 3 years ago
