How to setup PyCharm to develop AWS Lambda function on local machine?

前端 未结 2 531
暗喜
暗喜 2021-01-05 11:54

I am looking forward to developing some AWS lambda functions in python using PyCharm. How can I setup my IDE to develop and test the function locally? Can experts guide how

2条回答
  •  广开言路
    2021-01-05 12:26

    Directly go through the page-> https://medium.com/@bezdelev/how-to-test-a-python-aws-lambda-function-locally-with-pycharm-run-configurations-6de8efc4b206

    pip install python-lambda-local
    python-lambda-local -f lambda_handler lambda_function.py event.json
    

自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题