AWS Route 53 ExecModule
Overview
AwsRoute53Module gives platform teams a read-only view of the DNS configuration held in an AWS account. Discover hosted zones, inspect one zone's public or private configuration, read record sets with routing details, and retrieve zone tags for ownership review.
These reads make DNS configuration usable in a broader workflow. Compare an alias target with an approved load-balancer inventory, identify zones without an ownership tag, or collect the record configuration needed for a migration review. Combine the results with certificate or CDN metadata to give reviewers context before they authorize a separate infrastructure change.
The connector supports four operations: list_hosted_zones, get_hosted_zone, list_record_sets, and list_tags. It does not create or delete zones, change DNS records, modify tags, query live DNS, or test propagation. Route 53 configuration is evidence for a review; it is not proof that clients can resolve a name or reach its destination.
Usage
- Create an AWS identity with the Route 53 read permissions required by the workflow.
- Store its access key ID and protected secret access key in a ValkyrAI
IntegrationAccount. Verify the connection and keep its statusREADY. - Add AWS Route 53 in Workflow Studio and choose the account through General > Connection. That built-in control owns the account binding; there is no separate account input parameter.
- Start with
list_hosted_zones, then pass an observed zone ID to a detail, record, or tag read. - Route the normalized result to a comparison, report, ticket, or approval step. Treat any requested DNS change as separately authorized work.
This release targets the commercial AWS global Route 53 service. There is no input region: the SDK uses the fixed global HTTPS endpoint and the us-east-1 signing scope. China and GovCloud partitions, alternate endpoints, temporary session credentials, and assume-role execution are outside this connector's contract.
Inputs
| Input | Type | Required | Default | Description |
|---|---|---|---|---|
operation | string | Yes | — | list_hosted_zones, get_hosted_zone, list_record_sets, or list_tags. |
hostedZoneId | string | Zone detail, records, tags | — | An observed zone ID such as Z0123456789ABCDEF, optionally prefixed with /hostedzone/. The module normalizes the prefix. |
limit | integer | Zone and record lists | 100 | Maximum total returned entries, from 1 to 1,000. |
returnAll | boolean | Zone and record lists | false | Follow pages until exhaustion or a result/page bound. |
marker | string | No | — | Opaque continuation marker for list_hosted_zones, at most 64 characters. |
startRecordName | string | No | — | Starting DNS name for list_record_sets, at most 1,024 characters. |
startRecordType | string | With an identifier | — | Supported DNS record type at the starting name; requires startRecordName. |
startRecordIdentifier | string | No | — | Routing-policy record identifier, at most 128 characters, at the starting name and type; requires both. |
Starting record fields are a cursor, not filters. For example, starting at an A record does not restrict the response to A records; AWS continues through its ordered record-set inventory. A name-only start is permitted. When resuming from a response, pass every supplied continuation field together.
Only operation-specific fields are accepted. List options on detail/tag operations, unknown fields, raw credentials, region selection, endpoint overrides, and arbitrary transport payloads fail validation before provider access.
Outputs
Every result uses the native normalized map ABI rather than returning an AWS SDK response object.
| Output | Description |
|---|---|
status | success or error. |
operation | Selected operation. |
attempts | Provider calls, including pages and retries. |
resultType | hostedZones, hostedZone, recordSets, or tags. |
items / count | Returned hosted-zone summaries, record sets, or tag key/value pairs. |
data | Normalized hosted-zone detail for get_hosted_zone. |
pages / hasMore | Pages consumed and whether continuation remains for an inventory operation. |
nextMarker | Opaque continuation for hosted-zone inventory when available. |
nextRecordName / nextRecordType / nextRecordIdentifier | Complete record-set continuation; the identifier appears when required by AWS. |
requestId | Safe AWS request identifier when available. |
error | Stable code, redacted message, HTTP status, and retryability. |
Zone summaries expose normalized id, name, privateZone, and resourceRecordSetCount when returned by AWS. Detail adds available name servers, VPC references, and delegation-set identifier. Record sets expose name, type, TTL and values, alias-target configuration, and supported routing-policy fields. Weighted, latency, failover, geolocation, and multivalue routing fields are mapped when present. Geoproximity, CIDR routing, and traffic-policy details are not reconstructed; additionalRoutingPolicyPresent: true flags that additional configuration needs a separate AWS review. A zone's tags remain a separate result so a workflow can read ownership only when needed. Comments, caller references, and provider descriptions are omitted.
Detail bounds are four name servers and 1,000 VPC references; record sets are limited to 1,000 values each, with each value at most 65,535 characters. Tags are bounded to 50 pairs. An unexpected provider response that exceeds safety bounds fails rather than silently dropping content.
DNS record values, internal zone names, VPC identifiers, and tags can contain sensitive infrastructure information. Results are classified as restricted. Limit access to the audience authorized to inspect the selected AWS account, and avoid placing credentials or other secrets in DNS records or tags.
IntegrationAccount Requirements
Select a verified AWS IntegrationAccount in READY status through General > Connection. Its API-key field contains the access key ID, and its protected password field contains the secret access key. The module consumes the platform-resolved account rather than accepting credentials through workflow inputs or a second selector.
Grant only the actions needed by the chosen steps:
route53:ListHostedZones
route53:GetHostedZone
route53:ListResourceRecordSets
route53:ListTagsForResource
Hosted-zone listing is an account inventory operation. Scope zone-specific permissions to the required hosted zones where AWS permits. No record-change, zone-delete, tag-write, or health-check permission is needed.
The connector does not support session tokens or role assumption. Use an appropriately scoped access-key pair for this release, and manage rotation and revocation through the account's normal controls.
Configuration
The operation input contains the DNS read parameters. The existing ExecModule retry policy controls attempts: default three per provider request, configurable from one to five. AWS SDK retries are disabled so retries are not multiplied by an additional SDK policy.
Safe read failures use bounded exponential backoff beginning at 250 milliseconds. Retryable conditions include network failures, throttling, and transient provider failures. Each provider attempt has a 20-second timeout and each SDK call a 30-second timeout. Total workflow duration also depends on page count and retries.
The module uses the commercial Route 53 global endpoint over HTTPS. Caller-supplied regions, destinations, authentication headers, and transport overrides are rejected.
Operations
Discover hosted zones
list_hosted_zones returns a bounded account inventory. Use its normalized IDs as targets for later reads. A workflow can separate public and private zones before selecting the appropriate review policy. A response with hasMore: true is incomplete; follow the continuation before treating it as the account's full zone inventory.
Inspect a hosted zone
get_hosted_zone reads one zone's configuration and available delegation/VPC details. This supports delegation and private-zone review without changing associations. Its VPC information should not be treated as a complete inventory of every association mechanism: Route 53 Profiles associations are outside this operation's coverage.
Review record sets and routing
list_record_sets reads an ordered, bounded collection for one zone. Inspect conventional record values alongside alias and routing-policy fields when present. For example, compare an alias target with a separately obtained approved ELB or CloudFront inventory, then send mismatches for human review. This connector does not resolve targets or determine whether a route is healthy.
Read ownership tags
list_tags retrieves hosted-zone tag key/value pairs. Join an environment or owner tag to the DNS review so a finding reaches a responsible team. Missing tags support an ownership-policy check; they do not prove that the zone has no owner.
Errors and Failure Modes
| Code | Meaning | Guidance |
|---|---|---|
VALIDATION_ERROR | Inputs, cursor combinations, or bounds are invalid. | Correct the named input before retrying. |
UNSUPPORTED_OPERATION | The operation is outside the supported read-only contract. | Select one of the four documented operations. |
INTEGRATION_ACCOUNT_ERROR | Connection is absent, unverified, not READY, incomplete, or supplied through a forbidden raw-credential field. | Repair and verify the selected connection. |
AWS_ROUTE53_HTTP_400 | AWS rejected the request or returned a provider-specific throttling/error response. | Check the zone/cursor and structured retryability. |
AWS_ROUTE53_HTTP_403 | The selected AWS identity lacks permission. | Grant the minimum required read action. |
AWS_ROUTE53_HTTP_429 / 500 / 502 / 503 / 504 | Throttling or transient provider failure. | Bounded retries apply; an exhausted retry remains an error. |
NETWORK_ERROR | Transport failed or an unsafe provider response could not be normalized. | Check outbound HTTPS, response bounds, and the structured retryability flag. |
PAGINATION_ERROR | Continuation is malformed or repeated, or a provider page exceeds the requested bound. | Treat the inventory as failed; investigate before resuming. |
EXECUTION_ERROR | An unexpected local failure was contained. | Review diagnostics and the structured result. |
Branch on stable error codes and retryability instead of parsing provider exception messages. The connector does not expose AWS exception text or credentials. A safe request identifier is retained when available. A failed multi-page inventory does not return partial items as a successful result.
Example
Discover up to 100 hosted zones in the selected account:
{
"operation": "list_hosted_zones",
"limit": 100,
"returnAll": true
}
Use an observed zone ID to inspect its records:
{
"operation": "list_record_sets",
"hostedZoneId": "Z0123456789ABCDEF",
"limit": 100,
"returnAll": true
}
Illustrative record-list result:
{
"status": "success",
"operation": "list_record_sets",
"attempts": 1,
"resultType": "recordSets",
"items": [
{
"name": "www.example.com.",
"type": "A",
"aliasTarget": {
"dnsName": "example-distribution.cloudfront.net.",
"hostedZoneId": "Z2FDTNDATAQYW2",
"evaluateTargetHealth": false
}
}
],
"count": 1,
"pages": 1,
"hasMore": false
}
Read the same zone's tags with {"operation":"list_tags","hostedZoneId":"Z0123456789ABCDEF"}. Join the owner tag and record configuration with an independently read CloudFront inventory, apply an approved comparison rule, and create a review task for unexpected aliases. Any record update takes place in a separate authorized process.
If a record response instead returns continuation fields, resume by mapping nextRecordName to startRecordName, nextRecordType to startRecordType, and the optional nextRecordIdentifier to startRecordIdentifier. Do not reuse only the name when AWS supplied the complete tuple.
Notes
- Pagination: Zone requests contain at most 100 entries per provider page; record requests at most 300.
returnAllstill stops at the total limit of 1,000 or 100 pages. InspecthasMoreand continuation fields before interpreting completeness. - Ordering: Record start fields use AWS ordering and do not filter by name or type. Preserve the returned cursor exactly.
- Concurrent changes: Multiple pages are not a transactional snapshot. Records can change during collection; avoid editing the zone while reviewing a continued inventory.
- Rate limits: Read retries are bounded. Throttling after the configured attempts is an error, not an empty inventory.
- Idempotency: All supported operations read current provider state and can be repeated. Results may change when the account changes.
- Destructive behavior: None. Zone/record/tag mutations, health checks, traffic-policy changes, Resolver, and DNS query/propagation tests are unsupported.
- Scope: One commercial AWS account's global Route 53 service per bound connection; no cross-account fan-out or regional/partition selector.
- External validation: Deterministic tests verify local request, mapping, validation, and error behavior. They do not prove access to your account, actual DNS resolution, propagation, or production service health.
- Availability: A merged connector appears in Workflow Studio after a backend deployment includes it in the module catalog.