Description
The Backup Route 53 Hosted Zone action will backup a Route 53 Hosted Zone and save it to an Amazon S3 bucket. The zone can be saved in different formats, including XML, JSON, and BIND.
If both a public and a private hosted zone exists for the same hosted zone name, then only the public hosted zone will be exported.
Settings
Please see Common Action Settings for a description of settings common to all action types.
Hosted Zone
Indicates the name of the Route 53 Hosted Zone to be backed up. Inclusion of the trailing '.' is optional.
Bucket Name
Indicates the name of the bucket to save the hosted zone to.
Object Key (file name)
Indicates the Amazon S3 object key (also known as the file name). Macros can be used to substitute run-time data, see below.
Export Format
Indicate the format of the backed up hosted zone. Currently, three options exist:
XML - The data will be stored to an XML file
JSON - The data will be stored to a JSON file
Bind - The data will be stored in BIND format (used by some other name servers)
Macros
The following macros can be used to include some run-time information.
$(DATE)
Date of backup in year-month-day format
$(TIME)
Time of backup in 24-hour format
$(HOSTEDZONE)
Name of the hosted zone. The trailing '.' will be removed.
$(HOSTEDZONEID)
Unique identifier of the host zone.
$(ZONETYPE)
The hosted zone's type: public or private.
Macros are case-sensitive. For example, $(Time) is not valid. $(TIME) must be used.
Amazon Commands Used
The following Amazon AWS commands are used. The access key should have permission to execute all of them.
route53:ListHostedZones
route53:ListResourceRecordSets
s3:PutObject