AWS CloudFormation CloudFront

Productieklare CloudFormation-patronen voor CloudFront: origins, caching, WAF en security headers.

Door giuseppe-trisciuoglio · giuseppe-trisciuoglio/developer-kit

Getest · Werkt ★ 9.2/10

AWS CloudFormation CloudFront — Productieklare CloudFormation-patronen voor CloudFront: origins, caching, WAF en security headers.

Wat het doet

Biedt CloudFormation YAML-patronen voor CloudFront-distributies — S3/ALB/Lambda@Edge/VPC-origins met OAC, CacheBehaviors, CloudFront Functions, WAF, security headers, en cross-stack Outputs. Triggert bij het aanmaken of uitbreiden van een CloudFront CDN-stack, het toevoegen van pad-gebaseerde cachingregels, of het koppelen van ACM-certificaten en WAF. Zes gelinkte referentiebestanden behandelen templatestructuur, origins, caching, security, geavanceerde features en harde accountlimieten diepgaander dan het hoofdbestand.

Testrapport

Voerde de CFN-minitaak live uit: de S3+OAC-template van de skill gebruikte de echte, door AWS beheerde CachingOptimized policy-ID (658327ea-f89d-4fab-a63d-7e88639e58f6) in plaats van een gegokte waarde, plus nog steeds accurate accountlimieten (200 distributies, 25 origins, ACM moet us-east-1 zijn) die een antwoord puur uit geheugen vaak overslaat.

Getest op: 2026-07-13 · Claude Code 2.x (agent harness)

Installatie

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

Commando's en voorbeeldprompts

  • /aws-cloudformation-cloudfrontProductieklare CloudFormation-patronen voor CloudFront: origins, caching, WAF en security headers.

Skills reageren op gewone verzoeken — geen commando's om te onthouden. Na installatie activeren prompts zoals deze de skill (in het Engels):

  • 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