2 Answers
- Newest
- Most votes
- Most comments
2
If you're using API Gateway then you can create a mock endpoint that returns 200 without executing anything else. You only pay for the requests that you make and you may be eligible for the free tier: https://aws.amazon.com/api-gateway/pricing/
0
It depends. If the APIs has crazy throughput Lambda may not be cheap after all. If access is infrequent then yes.
Another idea could be to use S3, where you would host a dummy HTML page that would return 200. Depending if it has a Cloudfront distribution in front of, it may be a hack but definitely cheap too.
Relevant content
- asked 10 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago