The AWS SDK for JavaScript v2 has reached end-of-support. We recommend
that you migrate to AWS SDK for JavaScript v3.
For additional details and information on how to migrate, please refer to this announcement
Amazon S3 Browser Examples
The following topics show two examples of how the AWS 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.