You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "mosche (via GitHub)" <gi...@apache.org> on 2023/05/05 08:09:11 UTC

[GitHub] [beam] mosche commented on issue #20239: AWS - add possibility for multiple region client

mosche commented on issue #20239:
URL: https://github.com/apache/beam/issues/20239#issuecomment-1535891840

   This can already be done using a custom `S3ClientBuilderFactory`:
   ```
   public class GlobalAccessS3ClientBuilderFactory extends DefaultS3ClientBuilderFactory {
     @Override
     public AmazonS3ClientBuilder createBuilder(S3Options s3Options) {
       return super.createBuilder(s3Options).enableForceGlobalBucketAccess();
     }
   }
   ```
   and configured using pipeline options (`S3Options`):
   ```
   --s3ClientFactoryClass=my.GlobalAccessS3ClientBuilderFactory;
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org