AWS Lambda is a serverless compute service that runs your code in response to events and scales automatically, with no servers to manage. You package code as a .zip archive or a container image, give it an execution role, and Lambda handles provisioning, scaling, and logging.
With the Lambda integration, you can:
- Invoke Function: Run a function synchronously and read back its parsed response payload, queue it asynchronously, or dry-run it to verify permissions — with the decoded execution log tail when something fails
- Manage functions: Create, read, update, and delete functions, including runtime, handler, memory, timeout, ephemeral storage, environment variables, VPC attachment, layers, X-Ray tracing, SnapStart, and CloudWatch log settings
- Version and alias: Publish immutable versions, then point aliases such as
prodat them — including weighted routing to shift a percentage of traffic to a new version for canary releases - Wire up event sources: Create and tune event source mappings for SQS, Kinesis, DynamoDB Streams, Amazon MQ, DocumentDB, Amazon MSK, and self-managed Kafka — with batch size, batching window, filter patterns, retry limits, success/failure destinations, broker authentication, and consumer group IDs
- Control concurrency: Reserve a share of account concurrency for a function, allocate provisioned concurrency to a version or alias to eliminate cold starts, and read account-level limits and usage
- Expose function URLs: Create dedicated HTTPS endpoints with
AWS_IAMor public auth, buffered or streamed responses, and full CORS configuration - Configure async behavior: Set retry attempts, maximum event age, and on-success/on-failure destinations for asynchronous invocations
- Audit access: Read a function's resource-based policy, add and remove permission statements for AWS services or accounts, and list function URL configurations to find publicly reachable endpoints
- Work with layers and tags: List layers and their versions, fetch a layer version's download location, and list, add, or remove function tags
Credentials and permissions
The block authenticates with an AWS access key ID and secret access key scoped to a region. Grant the IAM principal only the Lambda actions the operations you use require — for example lambda:InvokeFunction for invocation, lambda:GetFunction and lambda:ListFunctions for read-only inventory, or lambda:UpdateFunctionCode and lambda:PublishVersion for deployments.
Deployment packages
Function code is supplied from Amazon S3 (bucket, key, and optional object version) or from a container image URI in Amazon ECR. Uploading a .zip archive inline is not supported — publish the archive to S3 first, in the same region as the function, then point Create Function or Update Function Code at it.
Use CloudWatch for function logs and metrics, S3 for deployment archives, and SQS for queue-backed event sources.
Use the block
Invoke functions and read their response payload, create and update functions from Amazon S3 packages or container images, publish versions and aliases, wire up event source mappings, manage concurrency, function URLs, layers, permissions, and tags. Requires an AWS access key and secret access key.
Actions
Lambda Invoke Function
Invoke a Lambda function synchronously for its response payload, asynchronously to queue execution, or as a dry run to check permissions.
Lambda List Functions
List Lambda functions with the version-specific configuration of each
Lambda Get Function
Get a function's configuration, code location, tags, and reserved concurrency
Lambda Get Function Configuration
Get a function's version-specific configuration
Lambda Create Function
Create a Lambda function from a deployment package in Amazon S3 or a container image
Lambda Update Function Code
Update a function's deployment package from Amazon S3 or a container image
Lambda Update Function Configuration
Update a function's settings such as memory, timeout, role, and environment variables
Lambda Delete Function
Delete a Lambda function, or a single published version of it
Lambda Publish Version
Publish an immutable version from the current code and configuration of a function
Lambda List Function Versions
List the published versions of a Lambda function, plus $LATEST
Lambda Create Alias
Create an alias that points to a published function version
Lambda Get Alias
Get details about a Lambda function alias
Lambda Update Alias
Update the target version, description, or traffic weights of an alias
Lambda Delete Alias
Delete a Lambda function alias
Lambda List Aliases
List the aliases of a Lambda function
Lambda Add Permission
Grant an AWS service, account, or organization permission to use a function
Lambda Remove Permission
Remove a statement from a function's resource-based policy
Lambda Get Policy
Get the resource-based IAM policy attached to a function, version, or alias
Lambda Create Event Source Mapping
Map an event source such as SQS, Kinesis, DynamoDB Streams, or Kafka to a function
Lambda Get Event Source Mapping
Get details about an event source mapping
Lambda Update Event Source Mapping
Update the batching, retry, filtering, or enabled state of an event source mapping
Lambda Delete Event Source Mapping
Delete an event source mapping
Lambda List Event Source Mappings
List event source mappings, optionally filtered by function or event source
Lambda Get Function Concurrency
Get the reserved concurrency configured for a function
Lambda Set Function Concurrency
Reserve a share of the account concurrency limit for a function
Lambda Delete Function Concurrency
Remove the reserved concurrency configuration from a function
Lambda Get Provisioned Concurrency
Get the provisioned concurrency configuration of a function version or alias
Lambda Set Provisioned Concurrency
Allocate provisioned concurrency to a function version or alias
Lambda Delete Provisioned Concurrency
Remove the provisioned concurrency configuration from a function version or alias
Lambda List Provisioned Concurrency
List the provisioned concurrency configurations of a function
Lambda Create Function URL
Create a dedicated HTTPS endpoint for a function
Lambda Get Function URL
Get details about a function URL
Lambda Update Function URL
Update the auth type, invoke mode, or CORS settings of a function URL
Lambda Delete Function URL
Delete the URL configuration of a function
Lambda List Function URLs
List the URL configurations of a function
Lambda Get Async Invoke Config
Get the asynchronous invocation retry and destination settings of a function
Lambda Set Async Invoke Config
Configure retry limits and destinations for asynchronous invocations of a function
Lambda Delete Async Invoke Config
Remove the asynchronous invocation configuration of a function
Lambda List Async Invoke Configs
List the asynchronous invocation configurations of a function
Lambda List Layers
List Lambda layers and the latest version of each
Lambda List Layer Versions
List the versions of a Lambda layer
Lambda Get Layer Version
Get details and a download link for a specific layer version
Lambda List Tags
List the tags applied to a Lambda function
Lambda Tag Resource
Add tags to a Lambda function
Lambda Untag Resource
Remove tags from a Lambda function
Lambda Get Account Settings
Get the Lambda limits and usage of the current AWS account and region
Lambda Get Recursion Config
Get the recursive loop detection setting of a function
Lambda Set Recursion Config
Set whether Lambda stops a function that invokes itself recursively
Lambda Get Runtime Management Config
Get the runtime update policy of a function version
Lambda Set Runtime Management Config
Set how and when Lambda applies runtime updates to a function version