Socket
Book a DemoInstallSign in
Socket

@serverless/aws-lambda-sdk

Package Overview
Dependencies
Maintainers
3
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@serverless/aws-lambda-sdk

## AWS Lambda [Serverless Console](https://www.serverless.com/console) SDK

Source
npmnpm
Version
0.15.10
Version published
Weekly downloads
136
91.55%
Maintainers
3
Weekly downloads
 
Created
Source

@serverless/aws-lambda-sdk

AWS Lambda Serverless Console SDK

Instruments AWS Lambda functions, propagates traces to the Serverless Console and exposes Serverless SDK to function logic

Setup

1. Register with Serverless Console

2. In Serverless Console turn on integration for your AWS account and chosen Lambdas

3. (optionally) Fine tune default instrumentation behavior with following options

SLS_DISABLE_HTTP_MONITORING (or options.disableHttpMonitoring)

Disable tracing of HTTP and HTTPS requests

SLS_DISABLE_REQUEST_RESPONSE_MONITORING (or options.disableRequestResponseMonitoring)

(Dev mode only) Disable monitoring requests and reponses (function, AWS SDK requests and HTTP(S) requests)

SLS_DISABLE_AWS_SDK_MONITORING (or options.disableAwsSdkMonitoring)

Disable automated AWS SDK monitoring

SLS_DISABLE_EXPRESS_MONITORING (or options.disableExpressMonitoring)

Disable automated express monitoring

Instrumentation

AWS Lambda SDK automatically creates aws.lambda, aws.lambda.initialization and aws.lambda.invocation trace spans. For more details see SDK Trace spans documentation

Additionally automatic instrumentation (with caveats) is provided for:

SDK API

FAQs

Package last updated on 02 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts