Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration with AWS Java SDK 2.x #10

Closed
andrus opened this issue Oct 12, 2021 · 0 comments
Closed

Integration with AWS Java SDK 2.x #10

andrus opened this issue Oct 12, 2021 · 0 comments
Milestone

Comments

@andrus
Copy link
Contributor

andrus commented Oct 12, 2021

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:

This was referenced Oct 12, 2021
@andrus andrus changed the title Upgrade to AWS Java SDK 2.x Integration with AWS Java SDK 2.x Oct 15, 2021
andrus added a commit that referenced this issue Oct 15, 2021
@andrus andrus added this to the 3.0.M1 milestone Oct 15, 2021
@andrus andrus closed this as completed Oct 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant