AWS Developer Tools Blog
Category: JavaScript
React Native Support in the AWS SDK for JavaScript
We’re excited to announce React Native support in the AWS SDK for JavaScript. You can now access all services that are currently supported in the AWS SDK for JavaScript from within a React Native application. You can configure Amazon Cognito Identity as the authentication provider by using the same Amazon Cognito Identity credentials you might […]
Using webpack and the AWS SDK for JavaScript to Create and Bundle an Application – Part 2
In the previous post in this series, we introduced how to use webpack and the AWS SDK for JavaScript to create and bundle an application. In this post, we’re going to dig a little bit into other features, such as creating bundles with only the AWS services you need, and generating bundles that will also […]
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 […]