Class | AWS::Route53::HostedZoneCollection |
In: |
lib/aws/route_53/hosted_zone_collection.rb
|
Parent: | Object |
# Create new hosted zone
r53 = AWS::Route53.new hosted_zone = r53.hosted_zones.create('example.com.')
# Find existing hosted zone
r53 = AWS::Route53.new # to lookup a route53 hosted zone, you need to use the zone id (i.e hosted_zone.id) hosted_zone = r53.hosted_zones['Zabcdefghijklm']
@param [String] name @option options [String] :comment @option options [String] :caller_reference @return [HostedZone]