Please enable JavaScript.
Coggle requires JavaScript to display documents.
AWS Lambda (Programming Model (Handler (Entry point
Handler is the…
AWS Lambda
Programming Model
Handler
Entry point
Handler is the function AWS Lamda Calls to start execution of AWS Lamda function
Execute our codes by calling handler function
First parameter to handler function: Event data
Handler passes event data & May invoke functions /methods in your code
Second Parameter to handler function:Context object
Useful for the code to interact with AWS Lambda
e.g: Execution time remaining before AWS Lambda terminates the function
For Nodejs - asynchronous platform that uses callbacks.AWS Lambda provides additional methods on this context objects
Use this context object to tell AWS lambda to terminate aws lamdba function and return values to the caller
-
Exceptions
How to notify AWS Lambda an exception happened
Synchronous request - it sends back the exception to the client
-
-
-
-
Compute service for running code, manages the servers