Continued from Until running Java program on Windows local AWS SDK
A note that the Amazon AWS SDK 1.x and 2.x seem to coexist.
pom.xml
<aws-java-sdk.version>1.11.699</aws-java-sdk.version>
<aws-java-sdk2.version>2.13.53</aws-java-sdk2.version>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-bom</artifactId>
<version>${aws-java-sdk.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>bom</artifactId>
<version>${aws-java-sdk2.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
AWS SDK for Java Documentation
Differences between SDK for Java 1.11.x and 2.x
Using the SDK for Java 1.x and 2.x Side by Side (Sharing SDK for Java 1.x and 2.x) /v2/migration-guide/side-by-side.html)
Recommended Posts