1 回答
- 最新
- 投票最多
- 评论最多
0
That's a valid approach. Two comments:
- If this is the only Lambda function you have you might also consider Lambda Function URLs - they are simpler to set up than API Gateway but also don't come with all the features that API Gateway does. So which you use is going to depend on what else you need.
- You don't have to but you should be authenticating the caller somehow. That will also influence your decision on which endpoint type to use.
相关内容
- AWS 官方已更新 7 个月前
Just to add that if all your Lambda function does is to add the message to SQS, you can use direct service integration in API Gateway to send the message directly into SQS, without the Lambda function.