Develop and deploy applications with the AWS SDK for JavaScript. The SDK provides first class TypeScript support and makes it easy to call AWS services using idiomatic JavaScript APIs.

How it Works

The AWS SDK for JavaScript simplifies use of AWS Services by providing a set of libraries that are consistent and familiar for JavaScript developers. It provides support for API lifecycle consideration such as credential management, retries, data marshaling, serialization, and deserialization. The AWS SDK for JavaScript also supports higher level abstractions for simplified development. Visit GitHub to see AWS-focused open source JavaScript libraries.

The AWS SDK for JavaScript supports three runtimes: JavaScript for browser, Node.js for server, React Native for mobile development. It also supports cross-runtime: a service client package can be run on browsers, Node.js, and React-Native without code change.

Key Features

First Class TypeScript Support

Our Javascript SDK is fully written in Typescript and then compiled to JavaScript. This allows you to use the benefits of Typescript, such as static type-checking, and class and module support. You can also use newer features from ES6, ES7, and beyond without having to worry about the backwards compatibility. The finished code produced by the compiler will be backwards compatible with ES5 and will work just fine with older browsers. To learn more, visit the AWS JavaScript Developer Blog.  

Middleware Stack

AWS SDK for JavaScript introduces the middleware stack, which allows you to customize the SDK behavior by modifying the middleware. You can add your your custom asynchronous actions to the AWS SDK for JavaScript and/or remove the default ones. These actions serialize input parameters into the data over the wire and deserialize response data into JavaScript objects. Such actions are implemented using functions called middleware and executed in a specific order. To learn more, visit the AWS JavaScript Developer Blog.  

Modular Architecture

Reduce your application bundle size and improve your application performance by only importing the packages your application requires. AWS SDK for Javascript has a modular architecture with a separate package published for each service. These packages are published under @aws-sdk/ scope on NPM to make it easy to identify packages that are part of the official AWS SDK for JavaScript. To learn more, visit the AWS JavaScript Developer Blog.  


The developer guide describes the features for the latest version of the AWS SDK for JavaScript v3 and how to use them.

The JavaScript API reference guide describes the API operations for the latest version of the AWS SDK for JavaScript. The reference guide also provides sample requests, responses, and errors for the supported web services protocols.

The SDK code examples contain JavaScript code examples and real-world use cases for AWS services to help accelerate development of your applications.

The AWS SDK for JavaScript v3 migration guide describes how to migrate from version 2 to version 3 of the SDK for JavaScript.
HTML | PDF | GitHub

Additional Resources

AWS JavaScript Developer Center

Find additional resources and guides for building JavaScript applications on AWS.

AWS Developer Blog

Read the AWS Developer blog to get the latest news and announcements on JavaScript.

AWS JavaScript GitHub Repos

Visit GitHub to view AWS SDK and high-level library repos.

Are you interested in running your Java workloads on AWS? Have an AWS representative follow-up with you about your IT project.