The official Sentry SDK for monitoring AWS Lambda Event Functions (formerly called Lambda functions).
For Lambda Web Functions, which run a standard HTTP server, use @sentry/node instead. Its default
awsLambdaWebIntegration
adds Lambda metadata to your errors and spans.