Class | AWS::EC2::RegionCollection |
In: |
lib/aws/ec2/region_collection.rb
|
Parent: | Collection |
Represents all the regions available to your account.
@example Getting a map of endpoints by region name
ec2.regions.inject({}) { |m, r| m[r.name] = r.endpoint; m }