The Lambda Programming Model
Take a look at some of the JavaScript code which will be run by Lambda!
We'll cover the following
lambdaHandler
In the sample template, the combination of CodeUri
, Handler
, and Runtime
means that the Lambda environment will try to execute the code using Node.js version 12 by calling the function called lambdaHandler
inside app.js
in the hello-world
directory.
Next, you’ll have a look at that file and inspect it, so you can see how Lambda responds to HTTP requests. That file will look similar to the following code:
Get hands-on with 1400+ tech skills courses.