the detailed description about Region parameter in AdRoll/goamz/aws/aws.go

10 views
Skip to first unread message

fight...@gmail.com

unread,
Jan 25, 2016, 9:46:45 PM1/25/16
to goamz
I want to create a new region "cnsh",but there is not so much detailed description about how to create a new region and the region parameters.

List my configurations:

/etc/hosts
10.227.56.102  s3-cn-sh.hub.oa.com

region: cnsh

In AdRoll/goamz/aws/regions.go file , I add a new region structure:

var cnsh = Region{
        "s3-cn-sh.hub.oa.com",
        ServiceInfo{"https://ec2.us-gov-west-1.amazonaws.com", V2Signature},
        "",
        true,
        true,
        "",
        "",
        "",
        ServiceInfo{"https://monitoring.us-gov-west-1.amazonaws.com", V2Signature},
        ServiceInfo{"https://rds.us-gov-west-1.amazonaws.com", V2Signature},
        "",
        "",
}

Is there any problems?
could anyone give me a detailed description about how to create a new regions? urgently!!!

Reply all
Reply to author
Forward
0 new messages