Files
fn-serverless/examples/lambda/node/README.md
Travis Reeder ca18ae88fa Added Lambda Node support as part of the regular functions workflow. (#601)
* Added Lambda Node support as part of the regular functions workflow.

* Fixes for PR comments.
2017-03-22 21:41:27 +01:00

346 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-node runtime, use this fn init command:

fn init --runtime lambda-node <DOCKER_HUB_USERNAME>/lambda-node
fn build
cat payload.json | fn run