The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::Amazon::R53::ResourceRecordSet::Stub - A representation of a ResourceRecordSet

VERSION

This document describes version 0.001 of Net::Amazon::R53::ResourceRecordSet::Stub - released December 26, 2012 as part of Net-Amazon-R53.

DESCRIPTION

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.

OVERVIEW

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.

REQUIRED ATTRIBUTES

These attributes are required, and must have their values supplied during object construction.

name

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.

type

One of the R53 supported types:

    A AAAA CNAME MX NS PTR SOA SPF SRV TXT

ATTRIBUTES

ttl

resource_records

alias_target

set_identifier

weight

region

METHODS

new_from_net_dns_rr($rr, { %opts })

Takes a Net::DNS::RR and creates a stub record instance off its type.

The %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 $rr-name>.

is_equivalent_to($stub)

Given another stub, we check the records for equality.

SEE ALSO

Please see those modules/websites for more information related to this module.

AUTHOR

Chris Weyl <cweyl@alumni.drew.edu>

COPYRIGHT AND LICENSE

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