Amazon S3 Browser Examples - Amazon SDK for JavaScript
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

We announced the upcoming end-of-support for Amazon SDK for JavaScript v2. We recommend that you migrate to Amazon SDK for JavaScript v3. For dates, additional details, and information on how to migrate, please refer to the linked announcement.

Amazon S3 Browser Examples

The following topics show two examples of how the Amazon SDK for JavaScript can be used in the browser to interact with Amazon S3 buckets.

  • The first shows a simple scenario in which the existing photos in an Amazon S3 bucket can be viewed by any (unauthenticated) user.

  • The second shows a more complex scenario in which users are allowed to perform operations on photos in the bucket such as upload, delete, etc.