1 回答
- 最新
- 投票最多
- 评论最多
1
I recommends that you use SAM CLI for local testing. Using SAM CLI you can invoke your functions locally using the sam local start-api
command, that will start also a local API gateway and will invoke your code when you CURL the local end-point. You could also use sam local generate-event
to create the event object that is used by API Gateway and use it when invoking the function directly using sam local invoke
.
相关内容
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前