Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Elaborating on the difference between regular A records and Alias A r…

…ecords in the comments.
  • Loading branch information...
commit 58f3bb553e6a530e51e5b84a6a8da405607a25e6 1 parent fdd7512
@gtaylor authored
Showing with 11 additions and 1 deletion.
  1. +11 −1 route53/resource_record_set.py
View
12 route53/resource_record_set.py
@@ -46,10 +46,20 @@ def hosted_zone(self):
class AResourceRecordSet(ResourceRecordSet):
"""
- Specific A record class.
+ Specific A record class. There are two kinds of A records:
+
+ * Regular A records.
+ * Alias A records. These point at an ELB instance instead of an IP.
"""
def __init__(self, alias_hosted_zone_id=None, alias_dns_name=None, *args, **kwargs):
+ """
+ :keyword str alias_hosted_zone_id: Alias A records have this specified.
+ It appears to be the hosted zone ID for the ELB the Alias points at.
+ :keyword str alias_dns_name: Alias A records have this specified. It is
+ the DNS name for the ELB that the Alias points to.
+ """
+
self.alias_hosted_zone_id = alias_hosted_zone_id
self.alias_dns_name = alias_dns_name
Please sign in to comment.
Something went wrong with that request. Please try again.