Configuring S3

  • Many AWS Services require configuration before you can use them
  • Different services are defined differently buthereis a guide
  • Spring Dependency Injection may be a good call here
@Bean
public S3Client createS3Client() {
    return S3Client.builder()
        .region(Region.US_EAST_1)
        .build();
}

20 / 23