Create a Lambda extension to send Lambda logs to S3
This pattern demonstrates how to use the Lambda extension telemetry API to persist Lambda logs to an S3 bucket.
The SAM template deploys a sample Lambda application, Lambda extension as Lambda layer and an S3 bucket to store the Lambda function logs. The Lambda extension uses the telemetry API together with the extensions API to capture Lambda Log and persist to S3.