mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
331 B
331 B
Lambda Node Example
This is the exact same function that is in the AWS Lambda tutorial.
Other than a different runtime, this is no different than any other node example.
To use the lambda-nodejs4.3 runtime, use this fn init command:
fn init --runtime lambda-nodejs4.3 --name lambda-node
cat payload.json | fn run