DocsAWS 101BlogServices

Route 53

Public + private hosted zones, record sets, health checks, tags.

REST-XML multi-tenant 19 operations

Quick start

import boto3
r53 = boto3.client("route53", endpoint_url="http://localhost:4566",
                   region_name="us-east-1",
                   aws_access_key_id="test", aws_secret_access_key="test")
zone = r53.create_hosted_zone(Name="example.internal",
    CallerReference="1")["HostedZone"]["Id"]
r53.change_resource_record_sets(HostedZoneId=zone,
    ChangeBatch={"Changes":[{"Action":"CREATE",
        "ResourceRecordSet":{"Name":"api.example.internal","Type":"A",
            "TTL":60,"ResourceRecords":[{"Value":"10.0.0.1"}]}}]})

Supported operations

19 operations exposed by this service as of MiniStack 1.5.31. Extracted directly from the handler dispatch in the source module.

AssociateVPCWithHostedZone ChangeResourceRecordSets ChangeTagsForResource CreateHealthCheck CreateHostedZone DeleteHealthCheck DeleteHostedZone DisassociateVPCFromHostedZone GetChange GetHealthCheck GetHostedZone ListHealthChecks ListHostedZones ListHostedZonesByName ListHostedZonesByVPC ListResourceRecordSets ListTagsForResource UpdateHealthCheck UpdateHostedZoneComment

CloudFormation

The CloudFormation engine provisions these resource types via this service:

AWS::Route53::HostedZone AWS::Route53::RecordSet

See CloudFormation engine for intrinsic support and lifecycle details.

Known limitations

  • Changes are visible inside MiniStack only — your host resolver is unaffected.
  • Health checks are stored but status is never updated.

Source

  • ministack/services/route53.py

Read the source to verify the ops list above — dispatch tables and handler functions are the ground truth.