AWS Developer Tools Blog

Introducing the SDK Builder for the AWS SDK for JavaScript in the Browser

We are pleased to introduce the SDK builder for the AWS SDK for JavaScript in the Browser.

The SDK builder allows you to customize and download the AWS SDK for JavaScript in the Browser. You can now include support for just the service clients you are using, which reduces the size of the browser distributable of the AWS SDK for JavaScript and improves the efficiency of your web applications.

You’ll find the SDK builder here: https://sdk.amazonaws.com/builder/js.

This article gives you an overview of the SDK builder, and shows you how to build a custom version of the SDK.

Step 1: Select an SDK Version

First, select the SDK version you want to customize. We recommend selecting the latest version.

Select a core version

 

Step 2: Select Services

You can then choose which service clients you want to include in your customized build. There are two preconfigured selections available:

  • Default services: This includes service clients for services that support the CORS standard.
  • All services: If you are using the AWS SDK for JavaScript in an environment that doesn’t enforce the CORS standard (for example, Google Chrome extensions and Windows Store Applications), then you can include support for all AWS services.

Select services

The globe icon next to the name of the service client indicates that the service supports CORS.

Services that support CORS

You can also customize the API version of the service clients you select. We recommend selecting the latest API version.

Select API versions

 

Step 3: Select a Bundle Type and Build

You are now ready to build your custom version of the SDK. Verify your build configuration, select a bundle type, and then click Build!

Supported Browsers

The SDK builder can be used on all modern browsers.

Browser Version
Google Chrome 31.0+
Microsoft Internet Explorer 10.0+
Mozilla Firefox 31.0+
Apple Safari 7.0+
Opera 29.0+

Wrapping Up

We hope the SDK builder makes it easier for you to optimize your application’s JavaScript footprint. We’re eager to hear what you think. Leave us a comment, tweet about it @awsforjs, or report an issue at github.com/aws/aws-sdk-js/issues.