Smarter AWS Route53 Helper
- class smarter.apps.infrastructure.providers.aws.helpers.route53.AWSRoute53(aws_access_key_id=None, aws_secret_access_key=None, aws_region=None, aws_profile=None, shared_resource_identifier=None, environment=None, environment_domain=None, root_domain=None, debug_mode=False, init_info=None)[source]
Bases:
AWSBaseThe AWS Route53 helper: hosted zones and their record sets.
Names are compared without their trailing dot, which Route53 adds.
- delete_hosted_zone(zone_id)[source]
Delete a hosted zone, and its record sets.
Route53 manages a zone’s NS and SOA records, which are deleted with the zone.
- Return type:
- get_hosted_zone_by_id(zone_id)[source]
Return a hosted zone, and its delegation set, by its id.
Example return value:
{ "HostedZone": {"Id": "/hostedzone/Z148QEXAMPLE8V", "Name": "example.com."}, "DelegationSet": {"NameServers": ["ns-2048.awsdns-64.com", "ns-2049.awsdns-65.net"]} }
- property route53
The boto3 Route53 client.