- 最新
- 投票最多
- 评论最多
Hi,
If you consider your existing application with API gateway like an "external API", this post details the Python code to do what you want : https://blog.devgenius.io/making-a-call-to-external-api-from-aws-lambda-resides-within-vpc-python-6184f5fe233a
Best,
Didier
If you're just looking to invoke an lambda, there's a boto3 call for this.
Can you tell us a bit more what you're trying to accomplish? What does "healthy" mean to your application?
The example Lamda which I am starting with makes a call to a third party API. I want to make sure that I get a 200 from the third party. This will ensure that the third party is up and responding and also that our Lambda is working and making the call.
Why don’t you monitor your lambda in Cloudwatch metrics and lambda insights and alert on failed invocations etc
相关内容
- AWS 官方已更新 4 个月前
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前