

The Amazon SDK for Java 1.x reached end-of-support on December 31, 2025. We recommend that you migrate to the [Amazon SDK for Java 2.x](https://docs.amazonaws.cn/sdk-for-java/latest/developer-guide/home.html) to continue receiving new features, availability improvements, and security updates.

# Amazon S3 Examples Using the Amazon SDK for Java
<a name="examples-s3"></a>

This section provides examples of programming [Amazon S3](https://www.amazonaws.cn/s3/) using the [Amazon SDK for Java](https://www.amazonaws.cn/sdk-for-java/).

**Note**  
The examples include only the code needed to demonstrate each technique. The [complete example code is available on GitHub](https://github.com/awsdocs/aws-doc-sdk-examples/tree/master/java). From there, you can download a single source file or clone the repository locally to get all the examples to build and run.

**Topics**
+ [Creating, Listing, and Deleting Amazon S3 Buckets](examples-s3-buckets.md)
+ [Performing Operations on Amazon S3 Objects](examples-s3-objects.md)
+ [Managing Amazon S3 Access Permissions for Buckets and Objects](examples-s3-access-permissions.md)
+ [Managing Access to Amazon S3 Buckets Using Bucket Policies](examples-s3-bucket-policies.md)
+ [Using TransferManager for Amazon S3 Operations](examples-s3-transfermanager.md)
+ [Configuring an Amazon S3 Bucket as a Website](examples-s3-website-configuration.md)
+ [Use Amazon S3 client-side encryption](examples-crypto.md)