[ 
https://issues.apache.org/jira/browse/JCLOUDS-1258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16339021#comment-16339021
 ] 

beny commented on JCLOUDS-1258:
-------------------------------

The aws-java-sdk.jar can access the China region.

AWSCredentials credentials = null;
 credentials = new BasicAWSCredentials(AWS_ACCESS_KEY, AWS_SECRET_KEY);
 AmazonS3 s3 = AmazonS3ClientBuilder.standard()
 .withCredentials(new AWSStaticCredentialsProvider(credentials))
 .withRegion("cn-north-1")
 .build();

String bucketName = "my-first-s3-bucket-" + UUID.randomUUID();
 s3.createBucket(bucketName);

> Amazon China Beijing Region Support
> -----------------------------------
>
>                 Key: JCLOUDS-1258
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1258
>             Project: jclouds
>          Issue Type: Improvement
>          Components: jclouds-blobstore, jclouds-compute
>    Affects Versions: 2.0.1
>            Reporter: Archana Chinnaiah
>            Priority: Minor
>              Labels: aws-ec2, aws-s3
>             Fix For: 2.1.0, 2.0.3
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to