AWS CloudFormation CloudFront

Produktionsreife CloudFormation-Muster für CloudFront: Origins, Caching, WAF und Security-Header.

von giuseppe-trisciuoglio · giuseppe-trisciuoglio/developer-kit

Getestet · Funktioniert ★ 9.2/10

AWS CloudFormation CloudFront — Produktionsreife CloudFormation-Muster für CloudFront: Origins, Caching, WAF und Security-Header.

Was es kann

Liefert CloudFormation-YAML-Muster für CloudFront-Distributionen — S3-/ALB-/Lambda@Edge-/VPC-Origins mit OAC, CacheBehaviors, CloudFront Functions, WAF, Security-Header und Cross-Stack-Outputs. Triggert beim Erstellen oder Erweitern eines CloudFront-CDN-Stacks, beim Hinzufügen pfadbasierter Caching-Regeln oder beim Verdrahten von ACM-Zertifikaten und WAF. Sechs verlinkte Referenzdateien decken Template-Struktur, Origins, Caching, Sicherheit, erweiterte Funktionen und harte Account-Limits vertiefend ab.

Testbericht

Die CFN-Mini-Aufgabe live durchgeführt: Das S3+OAC-Template des Skills verwendete die echte, von AWS verwaltete CachingOptimized-Policy-ID (658327ea-f89d-4fab-a63d-7e88639e58f6) statt eines geratenen Werts, plus weiterhin korrekte Account-Limits (200 Distributionen, 25 Origins, ACM muss in us-east-1 liegen), die eine rein aus dem Gedächtnis gegebene Antwort tendenziell ausspart.

Getestet am: 2026-07-13 · Claude Code 2.x (agent harness)

Installation

git clone https://github.com/giuseppe-trisciuoglio/developer-kit
cd developer-kit
mkdir -p ~/.claude/skills
cp -r plugins/developer-kit-aws/skills/aws-cloudformation/aws-cloudformation-cloudfront ~/.claude/skills/aws-cloudformation-cloudfront

Befehle & Beispiel-Prompts

  • /aws-cloudformation-cloudfrontProduktionsreife CloudFormation-Muster für CloudFront: Origins, Caching, WAF und Security-Header.

Skills reagieren auf normale Anfragen — keine Slash-Befehle nötig. Nach der Installation aktivieren Prompts wie diese den Skill (auf Englisch):

  • Write a CloudFormation template for a CloudFront distribution with WAF
  • Add path-based cache behaviors to my CloudFront CDN stack
  • Set up an S3 origin with OAC and security headers in CloudFormation