AWS SDK for Java: Difference between revisions
Jump to navigation
Jump to search
(→SDK 2) |
|||
Line 14: | Line 14: | ||
=Dependency= | =Dependency= | ||
==SDK | ==SDK 2== | ||
<syntaxhighlight lang='java'> | |||
<syntaxhighlight lang=' | |||
repositories { | repositories { | ||
Line 25: | Line 23: | ||
dependencies { | dependencies { | ||
implementation 'software.amazon.awssdk:aws-sdk-java:2.1.1' | |||
implementation ' | |||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Maven Repository location: {{External|http://repo1.maven.org/maven2/software/amazon/awssdk/aws-sdk-java/}} | |||
==SDK 1== | |||
<syntaxhighlight lang='groovy'> | <syntaxhighlight lang='groovy'> | ||
repositories { | repositories { | ||
Line 39: | Line 40: | ||
dependencies { | dependencies { | ||
implementation 'com.amazonaws: | // SDK 1 | ||
implementation 'com.amazonaws:<component-name>:1.<minor>.<patch>' | |||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Example: | |||
<syntaxhighlight lang='groovy'> | |||
<syntaxhighlight lang=' | |||
repositories { | repositories { | ||
Line 55: | Line 54: | ||
dependencies { | dependencies { | ||
implementation ' | implementation 'com.amazonaws:aws-java-sdk-kinesis:1.11.471' | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{External|http://repo1.maven.org/maven2/com/amazonaws/}} | |||
=Concepts= | =Concepts= |
Revision as of 05:07, 3 October 2021
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 2
repositories {
mavenCentral()
}
dependencies {
implementation 'software.amazon.awssdk:aws-sdk-java:2.1.1'
}
Maven Repository location:
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'
}