cloudfront

Manage Amazon CloudFront distributions, origins, behaviors, and cache invalidations via AWS CLI.

3|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/david-2814/claw-aws --skill cloudfront
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloudfront
Source: https://github.com/david-2814/claw-aws/tree/main/skills/cloudfront
Command: npx skills add https://github.com/david-2814/claw-aws --skill cloudfront

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manage and optimize Amazon CloudFront distributions, including origins, cache behaviors, invalidations, and SSL configurations, all via the AWS CLI.

Core Features & Use Cases

  • Create, update, and monitor CloudFront distributions from the CLI
  • Manage origin configurations, cache behaviors, and SSL certificates for custom domains
  • Issue cache invalidations to refresh content after deployments or changes

Quick Start

Initialize your CloudFront workflow by listing distributions with the AWS CLI to verify setup.

Frequently Asked Questions about cloudfront

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage Amazon CloudFront distributions using the AWS CLI?

You can manage Amazon CloudFront distributions using the AWS CLI by automating the creation, updating, and monitoring of CDN configurations. This approach allows cloud engineers to deploy and maintain distributions entirely from the command line.

How do I issue a CloudFront cache invalidation from the command line?

To issue a CloudFront cache invalidation from the command line, use the AWS CLI to refresh content after deployments or changes. This automation ensures updated assets are served immediately without waiting for the TTL to expire.

Can I configure CloudFront origins and cache behaviors via the AWS CLI?

Yes, you can configure CloudFront origins and cache behaviors via the AWS CLI. The process supports managing origin configurations, defining cache behaviors, and setting SSL certificates for custom domains across multiple environments.

What is the best way to automate CloudFront deployment for DevOps workflows?

The best way to automate CloudFront deployment for DevOps workflows is using the AWS CLI to script distribution updates and cache invalidations. This enables seamless CDN configuration and troubleshooting across multiple environments.

Do I need specific prerequisites to troubleshoot CloudFront distributions via the CLI?

Yes, troubleshooting CloudFront distributions via the CLI requires proper AWS CLI setup and appropriate IAM permissions. The workflow includes safety notes and prerequisites to ensure secure listing, inspecting, and updating of CDN resources.

Why does my CloudFront distribution still serve stale content after an update?

Your CloudFront distribution serves stale content after an update because edge caches retain assets until the TTL expires. You must issue a cache invalidation via the AWS CLI to force the CDN to fetch and serve the updated content.