AWS Developer Tools Blog
Category: JavaScript
Using webpack and the AWS SDK for JavaScript to Create and Bundle an Application – Part 1
We introduced support for webpack in version 2.6.1 of the AWS SDK for JavaScript. Using tools such as webpack with the SDK give you a way to bundle your JavaScript modules so that you can write modularized code for the browser. This post will walk through how to create and bundle a simple application that […]
AWS Lambda Support for Node.js 4.3.2 Runtime
We are pleased to announce that in conjunction with the availability of Node.js 4.3.2 in AWS Lambda, Version 2.3.2 of the AWS SDK for JavaScript (in both Node.js and in the browser) supports the passing in of “nodejs4.3” as a value for the Runtime parameter for the createFunction and updateFunctionConfiguration operations. Now that the Node.js […]
Support for Promises in the SDK
Today’s release of the AWS SDK for JavaScript (v2.3.0) introduces support for promises when calling service operations. Promises provide an alternative to the use of a callback function to manage asynchronous flow. They allow treating asynchronous calls as a variable, simplifying error handling and providing greater control over handling results from asynchronous calls. For more […]
Announcing the Amazon DynamoDB Document Client in the AWS SDK for JavaScript
Version 2.2.0 of the AWS SDK for JavaScript introduces support for the document client abstraction in the AWS.DynamoDB namespace. The document client abstraction makes it easier to read and write data to Amazon DynamoDB with the AWS SDK for JavaScript. Now you can use native JavaScript objects without annotating them as AttributeValue types. This article […]
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 […]
AWS SDK for JavaScript Office Hour
The AWS SDKs and Tools team invites you to the first-ever online office hour hosted by the maintainers of the AWS SDK for JavaScript. It will be held via Google Hangouts at 10:00-11:00am PDT (UTC -7:00) on Tuesday 6/30. If you don’t have one already, you will need to create an account with Google to join […]
Announcing CORS Support for Amazon EC2
We are pleased to announce that Amazon EC2 now supports CORS requests, which means you can now use the AWS SDK for JavaScript in the Browser to access your Amazon EC2 resources. The following example code snippet shows how to make requests to Amazon EC2: In your HTML file: <script src=”https://sdk.amazonaws.com/js/aws-sdk-2.1.34.min.js”></script> In your JavaScript file: […]
Creating Amazon CloudFront Signed URLs in Node.js
Amazon CloudFront allows you to use signed URLs to restrict access to content. This allows you to securely serve private content, or content intended for selected users using CloudFront. Read more about how CloudFront signed URLs work. This article describes how to generate Amazon CloudFront signed URLs in Node.js. To generate signed URLs, you can […]
Authentication in the Browser with Amazon Cognito and Public Identity Providers
Our earlier blog post introduced authentication with Amazon Cognito in the browser. Amazon Cognito has since simplified the authentication workflow. This article describes authenticating the SDK in the browser using Amazon Cognito and supported public identity providers like Google, Facebook, and Amazon. Step 1 and Step 2 outline registering your application with a public identity […]
The AWS SDK for JavaScript now supports Amazon S3 Requester Pays buckets
The AWS SDK for JavaScript now has support for Amazon S3 Requester Pays buckets. With Requester Pays buckets, the requester instead of the bucket owner pays the cost of the request and the data download from the bucket. The bucket owner always pays the cost of storing data. This allows bucket owners to share the […]