The AWS SDK for Java enables Java developers to easily work with Amazon Web Services andbuild scalable solutions with Amazon S3, Amazon DynamoDB, Amazon Glacier, and more. You can getstarted in minutes using Maven or by downloading a single zip file.
Note: A version 2.x of the SDK is available, see the AWS SDK for Java 2.x section for more information.
Changes to the SDK beginning with version 1.12.1 (June 2021) are tracked in CHANGELOG.md.
Changes in the retired 1.11.x series of the SDK, beginning with version 1.11.82,are listed in the CHANGELOG-1.11.x.md file.
Release notes for versions prior to 1.11.82 can still be found on the AWS Release NotesWebsite.
Before you begin, you need an AWS account. Please see the Sign Up for AWS section ofthe developer guide for information about how to create an AWS account and retrieve your AWScredentials.
To run the SDK you will need Java 1.7+. For more information about the requirements and optimumsettings for the SDK, please see the Installing a Java Development Environmentsection of the developer guide.
The recommended way to use the AWS SDK for Java in your project is to consume it from Maven. Importthe aws-java-sdk-bom and specify the SDK Maven modules that your project needs in thedependencies.
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-bom</artifactId>
<version>1.12.84</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-ec2</artifactId>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-s3</artifactId>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-dynamodb</artifactId>
</dependency>
</dependencies>
See the Set up the AWS SDK for Java section of the developer guide for moreinformation about installing the SDK through other means.
Provides easy-to-use HTTP clients for all supported AWS services, regions, and authenticationprotocols.
Client-Side Data Encryption for Amazon S3 - Helps improve the security of storing application datain Amazon S3.
Amazon DynamoDB Object Mapper - Uses Plain Old Java Object (POJOs) to store and retrieve AmazonDynamoDB data.
Amazon S3 Transfer Manager - With a simple API, achieve enhanced the throughput, performance, andreliability by using multi-threaded Amazon S3 multipart calls.
Amazon SQS Client-Side Buffering - Collect and send SQS requests in asynchronous batches,improving application and network performance.
Automatically uses IAM Instance Profile Credentials on configured AmazonEC2 instances.
And more!
Once you check out the code from GitHub, you can build it using Maven. To disable the GPG-signingin the build, use:
mvn clean install -Dgpg.skip=true
GitHub issues is the preferred channel to interact with our team. Also check these community resources for getting help:
aws-java-sdk
For information about maintenance and support for SDK major versions and their underlying dependencies, see the following in the AWS SDKs and Tools Shared Configuration and Credentials Reference Guide:
1.12.x - Recommended.
1.11.x - No longer supported, but migration to 1.12.x should require no code changes.
A version 2.x of the SDK is generally available. It is a major rewrite of the 1.x code base, built on top of Java 8+ and adds several frequently requested features. These include support for non-blocking I/O, improved start-up performance, automatic iteration over paginated responses and the ability to plug in a different HTTP implementation at run time.
For more information see the AWS SDK for Java 2.x Developer Guide or check the project repository in https://github.com/aws/aws-sdk-java-v2.
设置 你可以用全局方法配置连接: Aws.config.update( endpoint: 'https://objects.dreamhost.com.', access_key_id: 'my-access-key', secret_access_key: 'my-secret-key', force_path_style: tr
aws-sdk-perl Attempt to build a complete AWS SDK in Perl This project is attempting to build an entire AWS SDK from the informationthat is stored in other AWS SDKs. Other AWS SDKs have a "data-driven"
AWS SDK for Ruby - Version 3 Links of Interest API Documentation Developer Guide V3 Upgrading Guide AWS Developer Blog Github Discussions Installation The AWS SDK for Ruby is available from RubyGems.
AWS SDK for JavaScript Version 3.x Now Available The version 3.x of the AWS SDK for JavaScript is generally available.For more information see the Developer Guideor API Reference. For release notes, s
AWS SDK for Android Samples This repository has samples that demonstrate various aspects of the AWS SDK for Android. Resources Developer Guide for AWS SDK for Android Please refer to README file in ea
The AWS SDK for iOS Samples This repository has samples that demonstrate various aspects of the AWS SDK for iOS. Resources Developer Guide for AWS SDK for iOS Please refer to README.md in each sample