Update src/main/java/org/elasticsearch/cloud/aws/AwsS3Service.java

Add support for Asia Pacific (Sydney) Region.
This commit is contained in:
Mark Gallop 2012-11-26 15:41:56 +08:00 committed by Shay Banon
parent 71d7d336c5
commit ef889a2d6e
1 changed files with 2 additions and 0 deletions

View File

@ -111,6 +111,8 @@ public class AwsS3Service extends AbstractLifecycleComponent<AwsS3Service> {
endpoint = "s3-ap-southeast-1.amazonaws.com";
} else if ("ap-southeast-1".equals(region)) {
endpoint = "s3-ap-southeast-1.amazonaws.com";
} else if ("ap-southeast-2".equals(region)) {
endpoint = "s3-ap-southeast-2.amazonaws.com";
} else if ("ap-northeast".equals(region)) {
endpoint = "s3-ap-northeast-1.amazonaws.com";
} else if ("ap-northeast-1".equals(region)) {