fn project AWS Lambda 格式 functions

 

Creating Lambda Functions

Creating Lambda functions is not much different than using regular functions, just use the lambda-node-4 runtime.

fn init --runtime lambda-node-4 --name lambda-node

Be sure the filename for your main handler is func.js.

TODO: Make Java and Python use the new workflow too.