class AWS::S3::Bucket

def location_constraint

Returns:
  • (String, nil) - Returns the location constraint for a bucket
def location_constraint
  client.get_bucket_location(:bucket_name => name).location_constraint
end