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.
fnproject AWS Lambda 格式 functions
原文:http://www.cnblogs.com/rongfengliang/p/7629489.html