Using AWS in Java

  • AWS has about a million services. Most have separate libraries
  • In order to not make you think about version numbers, AWS uses a special Maven feature
  • Include this above your main <dependencies> block
<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>software.amazon.awssdk</groupId>
            <artifactId>bom</artifactId>
            <version>2.16.60</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
    </dependencies>
</dependencyManagement>

16 / 25