Socket
Book a DemoInstallSign in
Socket

aws-lambda-sdk

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-lambda-sdk

AWS Lambda is a serverless compute service that runs your code in response to events, automatically managing the underlying infrastructure.

1.0.0
latest
Source
npmnpm
Version published
Weekly downloads
65
Maintainers
1
Weekly downloads
 
Created
Source

Getting Started with AWS Lambda

Install the Package

Run the following command from your project directory to install the package from npm:

npm install aws-lambda-sdk@1.0.0

For additional package details, see the Npm page for the aws-lambda-sdk@1.0.0 npm.

Test the SDK

To validate the functionality of this SDK, you can execute all tests located in the test directory. This SDK utilizes Jest as both the testing framework and test runner.

To run the tests, navigate to the root directory of the SDK and execute the following command:

npm run test

Or you can also run tests with coverage report:

npm run test:coverage

Initialize the API Client

Note: Documentation for the client can be found here.

The following parameters are configurable for the API Client:

ParameterTypeDescription
environmentEnvironmentThe API environment.
Default: Environment.Production
timeoutnumberTimeout for API calls.
Default: 0
httpClientOptionsPartial<HttpClientOptions>Stable configurable http client options.
unstableHttpClientOptionsanyUnstable configurable http client options.

The API client can be initialized as follows:

import { Client, Environment } from 'aws-lambda-sdk';

const client = new Client({
  timeout: 0,
  environment: Environment.Production,
});

List of APIs

SDK Infrastructure

Configuration

HTTP

Utilities

FAQs

Package last updated on 28 Aug 2025

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.