Lambda Function Management
- A function Lambda - is a resource
 - invoked to run code
 - it processes events
 - a language specific runtime passes requests and responses between Lambda and function code.
 
- User need to give function code and provided runtimes
- Develop Lambda functions in - the Lambda console – has code editor for noncompiled languages
 - an IDE toolkit
 - AWS CLI – access Lambda API
 - SDKs
 
- Function code has - scripts/compiled program
 - dependencies
 
- Build Lambda Functions with - Node.js
 - Python
 - Ruby
 - Java
 - Go
 - C#
 - PowerShell
 
- AWS CLI uses AWS SDK for Python to interact with Lambda API

Lambda Programming Model or code writing pattern
- Handler – Lambda calls it start execution of Lambda function. Lambda executes code by calling handler function first.
- Context – context object is sent to handler function as second parameter
- Logging – logging statements can be added into Lambda function. Limits as per CloudWatch Logs
- Exceptions – Method to notify errors by code.
Code Editor
- Present in Lambda console
- Use it to - write Lambda function code
 - test Lambda function code
 - view results of Lambda function code
 
- Has - menu bar – to run common commands.
 - windows – to work with files/folders/other commands.
 - editor pane – to write code.
 

AWS Certified Developer - Associate Free Practice TestTake a Quiz
		