Menu
AWS SDK for Java
Developer Guide

AWS SDK for Java Developer Guide

The AWS SDK for Java provides a Java API for Amazon Web Services. Using the SDK, you can easily build Java applications that work with Amazon S3, Amazon EC2, Amazon SimpleDB, and more. We regularly add support for new services to the AWS SDK for Java. For a list of the supported services and their API versions that are included with each release of the SDK, view the release notes for the version that you're working with.

AWS SDK for Java 2.0 Developer Preview

Take a look at the new AWS SDK for Java 2.0 developer preview at https://github.com/aws/aws-sdk-java-v2/. It includes much awaited features, such as a way to plug in a HTTP implementation. To get started, see the AWS SDK for Java 2.0 Developer Guide.

Additional Documentation and Resources

In addition to this guide, the following are valuable online resources for AWS SDK for Java developers:

Eclipse IDE Support

If you develop code using the Eclipse IDE, you can use the AWS Toolkit for Eclipse to add the AWS SDK for Java to an existing Eclipse project or to create a new AWS SDK for Java project. The toolkit also supports creating and uploading Lambda functions, launching and monitoring Amazon EC2 instances, managing IAM users and security groups, a AWS CloudFormation template editor, and more.

See the AWS Toolkit for Eclipse User Guide for full documentation.

Developing AWS Applications for Android

If you're an Android developer, Amazon Web Services publishes an SDK made specifically for Android development: the AWS Mobile SDK for Android. See the AWS Mobile SDK for Android Developer Guide for full documentation.

Viewing the SDK's Revision History

To view the release history of the AWS SDK for Java, including changes and supported services per SDK version, see the SDK's release notes.

Building Java Reference Documentation for Earlier SDK versions

The AWS SDK for Java API Reference represents the most recent version of the SDK. If you're using an earlier SDK version, you might want to access the SDK reference documentation that matches the version you're using.

The easiest way to build the documentation is using Apache's Maven build tool. Download and install Maven first if you don't already have it on your system, then use the following instructions to build the reference documentation.

To build reference documentation for an earlier SDK version

  1. Locate and select the SDK version that you're using on the releases page of the SDK repository on GitHub.

  2. Choose either the zip (most platforms, including Windows) or tar.gz (Linux, macOS, or Unix) link to download the SDK to your computer.

  3. Unpack the archive to a local directory.

  4. On the command line, navigate to the directory where you unpacked the archive, and type the following.

    Copy
    mvn javadoc:javadoc
  5. After building is complete, you'll find the generated HTML documentation in the aws-java-sdk/target/site/apidocs/ directory.