AWS SDK for Java: Difference between revisions
Jump to navigation
Jump to search
(→SDK 1) |
(→SDK 2) |
||
Line 48: | Line 48: | ||
<syntaxhighlight lang='java'> | <syntaxhighlight lang='java'> | ||
repositories { | |||
mavenCentral() | |||
} | |||
dependencies { | dependencies { | ||
implementation 'software.amazon.awssdk:aws-sdk-java:2.1.1' | implementation 'software.amazon.awssdk:aws-sdk-java:2.1.1' | ||
} | } |
Revision as of 22:41, 7 March 2019
External
- https://aws.amazon.com/sdk-for-java/
- https://docs.aws.amazon.com/sdk-for-java/v2/developer-guide/welcome.html
- AWS SDK Java v2 on GitHub https://github.com/aws/aws-sdk-java-v2
- AWS SDK Java v1.11 on GitHub https://github.com/aws/aws-sdk-java
Internal
Overview
Dependency
SDK 1
repositories {
mavenCentral()
}
dependencies {
// SDK 1
implementation 'com.amazonaws:<component-name>:1.<minor>.<patch>'
}
Example:
repositories {
mavenCentral()
}
dependencies {
implementation 'com.amazonaws:aws-java-sdk-kinesis:1.11.471'
}
SDK 2
repositories {
mavenCentral()
}
dependencies {
implementation 'software.amazon.awssdk:aws-sdk-java:2.1.1'
}
Maven Repository location: