routing-traffic-with-route53-and-cloudfront
An agent skill by aws, from aws/agent-toolkit-for-aws. Tags: aws, cloudfront, dns, routing, web.
What it does
Configures Amazon Route 53 to route traffic to a CloudFront distribution using a custom domain. Use when setting up DNS alias records, alternate domain names (CNAMEs), ACM certificates for HTTPS, and IPv6 support for CloudFront.
Install
With the skills CLI, which installs into Claude Code, Codex, Cursor and other agents:
npx skills add aws/agent-toolkit-for-aws --skill routing-traffic-with-route53-and-cloudfront
Or copy the skill folder into Claude Code's skills directory by hand (~/.claude/skills for every project, or .claude/skills inside one):
git clone --depth 1 https://github.com/aws/agent-toolkit-for-aws
cp -r agent-toolkit-for-aws/skills/specialized-skills/networking-and-content-delivery-skills/routing-traffic-with-route53-and-cloudfront ~/.claude/skills/routing-traffic-with-route53-and-cloudfront
Safety box score
Grade C, moderate risk: 35 of 100 risk points, rated 2026-10-19. The grade rates what the skill and its scripts can reach on the machine of whoever installs it, across eight categories from shell execution to secrets access. How the score works.
This skill configures live AWS Route 53, CloudFront, and ACM resources so a custom domain routes to a CloudFront distribution. The main risk is broad account-level change to public DNS/CDN state using whatever AWS credentials are active; it does not appear to touch local files or install software.
| Category | Level | Why |
|---|---|---|
| Code & shell execution | 2 (moderate) | It directs the agent to run shell commands such as `aws sts get-caller-identity`, `aws cloudfront get-distribution`, `aws route53 change-resource-record-sets`, `nslookup`, and `dig`, which is real command execution but not arbitrary code. |
| Network access | 2 (moderate) | The skill makes outbound AWS API calls to Route 53, CloudFront, and ACM and uses DNS lookup tools, so configuration and query data leave the machine over the network. |
| Filesystem reach | 0 (none) | No reading, writing, or deleting of local files outside the repo is described; the workflow is entirely AWS API and DNS checks. |
| Secrets & credentials | 2 (moderate) | It relies on the user's active AWS credentials (`aws sts get-caller-identity`) and can act on resources in that account, but it does not ask for passwords, keys, or secret files directly. |
| Privilege & persistence | 0 (none) | There is no sudo, service installation, shell startup editing, or other local privilege escalation described. |
| Instruction hijack surface | 0 (none) | The markdown contains procedural instructions only; it does not ask the agent to ignore its rules, hide anything, or follow untrusted remote content. |
| Irreversible actions | 3 (high) | It can create hosted zones, request ACM certificates, update CloudFront distributions, and upsert DNS records, which are live public-facing changes and can reroute traffic without an explicit human approval gate for each action. |
| Transparency | 0 (none) | The skill files are plain readable markdown with no binaries, minified code, decoded blobs, or unpinned downloads. |
Before installing
- Read `references/route53-cloudfront-routing.md` and confirm you are okay with it making live Route 53 and CloudFront changes.
- Test it first in a non-production AWS account or on a disposable hosted zone/distribution.
- Verify the active AWS profile/role has exactly the permissions you intend to grant for Route 53, CloudFront, and ACM.
- Confirm the domain is public and that you are comfortable with certificate creation in `us-east-1` and potential DNS propagation delays.
Rated 2026-10-19 by an automated review of 2 files from the skill's repository.
Source
- Repository
- aws/agent-toolkit-for-aws (all skills from this repository)
- Path
- skills/specialized-skills/networking-and-content-delivery-skills/routing-traffic-with-route53-and-cloudfront/SKILL.md
- Branch
- main
- Updated
- 2026-09-19
Related skills
- route53 — Configures Amazon Route 53 DNS: public and private records, traffic-steering routing policies, health checks, DNS Firewall, Route 53 Profiles.
- launch-with-aws — Migrates vibe-coded web applications to AWS.
- app-platform-networking — Configure domains, routing, CORS, VPC, static IPs, and inter-service communication for DigitalOcean App Platform.
- expo-router — Framework (OSS). Navigation and routing for Expo Router.
- aws-amplify — Build and deploy full-stack web and mobile apps with AWS Amplify Gen2 (TypeScript code-first).
- connecting-vpcs-with-peering — Establishes VPC peering connections between two VPCs for direct private network connectivity.