class AWS::EC2::Region
def exists?
-
(Boolean)
- True if the region is available for this
def exists? client.describe_regions(:region_names => [name]) true rescue Errors::InvalidParameterValue false end
(Boolean)
- True if the region is available for this
def exists? client.describe_regions(:region_names => [name]) true rescue Errors::InvalidParameterValue false end