AWS Lambda Integration
Overview
The AWS Lambda Extension is designed to forward logs from your AWS Lambda functions to SnappyFlow without requiring an external transport such as CloudWatch Logs.
This lightweight extension runs alongside your AWS Lambda functions. Submitting Lambda logs with the extension is supported in all Lambda runtimes.
Installation
Enable Lambda extension in your function
As Lambda Layer
Add the Lambda Layer for the SnappyFlow extension to your AWS Lambda function with the following ARN:
arn:aws:lambda:<AWS_REGION>:106947364898:layer:sf-lambda-extension:3
Replace <AWS_REGION> with the same AWS region as your Lambda Function, for example, us-west-2
As Container Image
Add the SnappyFlow Lambda extension to your container image by adding the following to your Dockerfile:
COPY --from=snappyflowml/sf-lambda-extension:latest /opt/extensions/ /opt/extensions
Add the environment variable
SF_PROFILE_KEY
and set the value to your profile key copied from SnappyFlowAdd environment variables
APP_NAME
andPROJECT_NAME
with appropriate values