[Java] AWS SDK for Java 1.11.x と 2.x

less than 1 minute read

Continuation of Until running Java program with Windows local AWS SDK

A note that 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