Issue
I'm trying to call a public API endpoint daily on a schedule from AWS. So how I would do this back in the day on a plain old server would be:
cron(0 0 * * ? *) curl someurl.com/endpoint
In my crontab. How is the best way to go about this in the new serverless world on AWS? I've looked at Eventbridge but I can't see what kind of event target I need. Should I write a lambda that calls the endpoint? That seems like overkill.
Solution
SNS as the target for Eventbridge may be what you're looking for.
SNS topics can have HTTP & HTTPS endpoints as subscribers so this could solve your problem without the need for a Lambda function.
Answered By - Craig S