Scheduled rest requests from aws
amazon-web-services
Solution
Things that could trigger a REST endpoint:
- A script/application on an Amazon EC2 instance, triggered by a cron schedule
- An AWS Lambda function triggered by an Amazon CloudWatch Events schedule
- An Amazon Simple Notification Service (SNS) topic with your REST endpoint as a subscriber, triggered by an Amazon CloudWatch Events schedule
For the SNS option, you won't have much control over the content of the call but it can call an endpoint.
Problem
I need to call some endpoint of my application periodically. I understand that i can create aws lambda function that will be triggered by aws trigger and that lambda will call my rest endpoint. Can aws lambda be avoided here? In other words, is it possible to make aws trigger to call my rest endpoint instead of aws lambda function?