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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to