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
Let's create a configurable S3 client object on top of AmazonS3. This task is solving two problems:
Dynamically associate symbolic names with configuration of real S3 buckets. This is similar to what bootique-jersey-client does and would allow to switching buckets without changing code between environments.
Allowing different buckets to be located in different AWS regions. Something not addressed by the injectable singleton AmazonS3 client.
E.g.:
awss3:
targets:
a:
bucketRegion: "us-east-2"# if missing, the default region from AWS credentials is usedbucketName: "xyz"# if missing, map key is used as bucket namepath: mypath/xb: {} # bucketName is "b", path is "/", region is whatever the default AWS profile specifies
Let's create a configurable S3 client object on top of
AmazonS3
. This task is solving two problems:bootique-jersey-client
does and would allow to switching buckets without changing code between environments.AmazonS3
client.E.g.:
Prerequisites: #10 (done), #11 (done)
SDK v2 only
The text was updated successfully, but these errors were encountered: