Call aws Lambda function without using API Gateway and EC2 Instance

后端 未结 3 838
不知归路
不知归路 2021-01-01 19:25

Can we call lambda function from outside aws without using API Gateway? I want to call lambda function directly from outside aws services is it possible?

3条回答
  •  盖世英雄少女心
    2021-01-01 19:40

    You can also use an application load balancer to call the lambda. This option is useful when you have timeouts larger than 30 seconds. To use this option you need to add a trigger to the lambda function and select Application Load Balancer and then procede with the configuration which is not hard.

    This is awful compare to using the API Gateway, because it creates a target group for each lambda but well... its sometimes useful.

提交回复
热议问题