You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
bootique-aws2-*
modules instead ofbootique-aws-*
AmazonS3
, v2S3Client
object is injectedAWSSecretsManager
, v2SecretsManagerClient
object is injectedaws.accessKey
is nowaws.credentials.accessKey
, andaws.secretKey
is nowaws.credentials.secretKey
awss3.signingRegion
andawssecrets.signingRegion
are no longer present. Useaws.defaultRegion
instead.awss3.serviceEndpoint
is nowawss3.endpointOverride
awssecrets.serviceEndpoint
is nowawssecrets.endpointOverride
AWS v1 to v2 Migration Resources:
The text was updated successfully, but these errors were encountered: