3 ms·
It would be great if there was an API that lists the AWS regions. Currently it is up to the developer to maintain a hard coded list somewhere.
by hoodoof 10y ago
It would be great if there was an API that lists the AWS regions. Currently it is up to the developer to maintain a hard coded list somewhere.
- r4um 10y agoThere is an API available http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeRegions.html http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_De...
- gadnuk 10y agoIf you are using the Java API, there is an enum Regions in the com.amazonaws.regions package.
- duskwuff 10y agoThat would be a hard-coded list. hoodoof means something that'd dynamically tell you what existed, not just what happened to exist when your copy of the AWS library was released.