AWS Developer Tools Blog

Category: JavaScript

Screenshot of PackagePhobia showing install size reduction from 7.04 MB to 4.21 MB for STS Client of modular AWS SDK for JavaScript.

How we halved the publish size of modular AWS SDK for JavaScript clients

On December 15th, 2020, we announced the general availability of the AWS SDK for JavaScript, version 3 (v3). In v3, the modular packages reduce the bundle size of your application by ~75% as compared to that in AWS SDK for JavaScript, version 2 (v2). However, v3 had a large publish/install size for each modular package. In […]

Read More
Node.js logo

Announcing the end of support for Node.js 10.x in the AWS SDK for JavaScript (v3)

Starting January 1, 2022, AWS SDK For JavaScript (v3) will no longer support Node.js 10.x which was EOL on April 30, 2021. We encourage you to upgrade to Node.js 12.x or later. We recommend Node.js 14.x which was released on April 21, 2020 and became active LTS on October 27, 2020. Motivation As Node.js 10.x version […]

Read More

Construct Hub Developer Preview

We are excited to announce the Construct Hub developer preview. It is a one-stop destination for finding, reusing and sharing constructs authored by AWS, AWS Partner Network partners, third parties, and the developer community. In the preview version of the website, we list constructs for Python and TypeScript programming languages. CDK constructs are cloud architecture building […]

Read More

Mocking modular AWS SDK for JavaScript (v3) in Unit Tests

The AWS SDK for Javascript team would like to highlight the open-source community and it’s contributions. Today we welcome a guest blog written by Maciej Radzikowski on aws-sdk-client-mock, a library that allows easy mocking of AWS SDK for JavaScript (v3). On December 15th, 2020, AWS announced the general availability of the AWS SDK for JavaScript, version 3 […]

Read More
Indoor, Time, Waiting, Classic, Mood, White, Hourglass

Waiters in modular AWS SDK for JavaScript

On December 15th, 2020, we announced the general availability of the AWS SDK for JavaScript, version 3 (v3). In v3, the waiters are modular and not part of the client class. In this blog post, we cover the differences between waiters in v2 and v3, and how to use them. Background Waiters make it easier […]

Read More

Announcing AWS Cloud Development Kit v2 Developer Preview

The AWS Cloud Development Kit (AWS CDK) v2 is now available for Developer Preview in TypeScript, Python, Java, C#, and Go. The AWS CDK is an open-source software development framework to model and provision your cloud application resources using familiar programming languages. With the AWS CDK, you can define your infrastructure as code and provision […]

Read More
Node.js logo

Announcing the end of support for Node.js <10.x in the AWS SDK for JavaScript (v2)

Starting November 1 2021, the AWS SDK For JavaScript (v2) will no longer support the following end of life (EOL) Node.js runtime versions: Node.js 0.10 – EOL on 2016-10-31 Node.js 0.12 – EOL on 2016-12-31 Node.js 4.x – EOL on 2018-04-30 Node.js 6.x – EOL on 2019-04-30 Node.js 8.x – EOL on 2019-12-31 We encourage you […]

Read More
signing image

Generate a presigned URL in modular AWS SDK for JavaScript

On December 15th, 2020, we announced the general availability of the AWS SDK for JavaScript, version 3 (v3). This blog shows you how to generate a presigned URL for an Amazon S3 bucket using the modular AWS SDK for JavaScript. Motivation A presigned URL gives you access to the object identified in the URL, provided […]

Read More

HTTP keep-alive is on by default in modular AWS SDK for JavaScript

On December 15th, 2020, we announced the general availability of the AWS SDK for JavaScript, version 3 (v3). In v3, we keep the Node.js HTTP connections alive by default. This blog post explains how it’s done. It also describes the benefits of keeping the sockets around, so they can be used for future requests without […]

Read More
Overview of AWS SDK for JavaScript

Modular AWS SDK for JavaScript is now generally available

We are happy to announce the General Availability (GA) of AWS SDK for JavaScript, version 3 (v3). This release follows the Release Candidate of the JavaScript SDK and has a modular architecture with a separate package for each service. It also includes many frequently requested features, such as a first-class TypeScript support and a new […]

Read More