Skip to content

Integration with AWS Java SDK 2.x #10

Closed
@andrus

Description

@andrus

Before we develop any more AWS features, let's make sure we are on the latest generation of the SDK - 2.x. Upgrade guide from Amazon:
Since 2.x API is drastically different from 1.x, looks like we'll need to provide a separate set of modules to allow users to switch at their leisure.

How to Migrate your code AWS SDK v2.

Bootique changes

  • Import bootique-aws2-* modules instead of bootique-aws-*
  • S3 injection changes: instead of AmazonS3, v2 S3Client object is injected
  • Secrets Manager injection changes: instead of AWSSecretsManager, v2 SecretsManagerClient object is injected
  • Config change: aws.accessKey is now aws.credentials.accessKey, and aws.secretKey is now aws.credentials.secretKey
  • Config change: awss3.signingRegion and awssecrets.signingRegion are no longer present. Use aws.defaultRegion instead.
  • Config change: awss3.serviceEndpoint is now awss3.endpointOverride
  • Config change: awssecrets.serviceEndpoint is now awssecrets.endpointOverride

AWS v1 to v2 Migration Resources:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions