Lambda Functions
Overview
AWS Lambda functions allow you to run code without provisioning servers. Lambda automatically scales capacity based on usage. The code runs in response to triggers. (for example HTTP requests)
Use Cases
Serverless web APIs
Data processing pipelines
Automated tasks in response to events like file uploads
Properties
Source: Here a docker image or a zipped file can be specified.
Note: if a file is specified a runtime and handler need to be specified.
Properties that were left out on purpose.
Memory: The amount of memory allocated per invocation. Defaults is 128 MB.
Timeout: The max runtime per invocation before Lambda terminates it. Default is 10 seconds.
Concurrency: The number of concurrent executions reserved. Default is unlimited.
Inputs and Outputs
Inputs
Invoke: Trigger the Lambda function via an HTTP request or event.
IAM Role: Determines which resources your function can access.
Outputs
Destination: Send the function's output to a destination like an S3 bucket.
Last updated