Net::Amazon::R53::ResourceRecordSet::Stub - A representation of a ResourceRecordSet
This document describes version 0.002 of Net::Amazon::R53::ResourceRecordSet::Stub - released January 09, 2013 as part of Net-Amazon-R53.
This class represents a R53 resource record set, "in the raw", as it were; a record without an owning zone. Stubs are useful both when specifing what a R53 entry should look like, as well as for operations that just need the info, and don't care if it's actually in an R53 hosted zone.
See the Amazon R53 API doc for legal values and uses, at the moment.
Note that we do basic validation here, and allow R53 itself to tell us when values are off.
These attributes are required, and must have their values supplied during object construction.
Per the Route53 documentation, this is expected to always be a fully-qualified domain name. As such, we attempt to coerce by adding a '.' to the end of the supplied name if not present. This behaviour may change.
One of the R53 supported types:
A AAAA CNAME MX NS PTR SOA SPF SRV TXT
Takes a Net::DNS::RR and creates a stub record instance off its type.
%opts optional argument is a hashref of additional options to pass to our stub constructor; they will override anything we set.
Note that we _cannot_ take any Route53 specific record options here, as Net::DNS doesn't know anything about them. Also, the Net::DNS::RR being passed in must be fully qualified; we don't have any good way to handle origin right now, and simply append a '.' to
Given another stub, we check the records for equality.
Please see those modules/websites for more information related to this module.
Chris Weyl <email@example.com>
Chris Weyl <firstname.lastname@example.org>
This software is Copyright (c) 2012 by Campus Explorer, Inc.
This is free software, licensed under:
The GNU Lesser General Public License, Version 2.1, February 1999