开发者

Amazon S3 - set Region to EU using Java AWS SDK

I am in Europe. How do I set the Region to EU (ireland) when using AmazonS3Client to co开发者_开发技巧py files?


The Amazon S3 Region enum is very helpful for looking up the different Amazon S3 endpoints: http://docs.amazonwebservices.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/s3/model/Region.html

After you find the right endpoint for EU, just call setEndpoint on your AmazonS3 client object.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜