concept
CloudFront cache and origin access
CloudFront behaviors select origin and policies; the cache key controls response sharing. Disable caching for personalized responses and enforce authorization. For private regular S3 origins, use OAC and scoped bucket permissions.
Formal Syntax & Structure
aws syntaxaws
path pattern -> origin + cache policy + origin request policyWorking Example
Example Snippetaws
/covers/* -> private S3 with OAC; /account/* -> caching disabled