github.com/iron-io/functions@v0.0.0-20180820112432-d59d7d1c40b2/examples/lambda/node/README.md (about)

     1  # Lambda Node Example
     2  
     3  This is the exact same function that is in the AWS Lambda tutorial.
     4  
     5  Other than a different runtime, this is no different than any other node example.
     6  
     7  To use the lambda-nodejs4.3 runtime, use this `fn init` command:
     8  
     9  ```sh
    10  fn init --runtime lambda-nodejs4.3 <DOCKER_HUB_USERNAME>/lambda-node
    11  fn build
    12  cat payload.json | fn run
    13  ```