What is Origin Access Control (OAC)?
IntermediateConceptDNS, CDN and Messaging
Answer
OAC lets CloudFront sign requests to a private S3 bucket (SigV4) so objects are not public. The bucket policy allows the cloudfront.amazonaws.com service principal conditioned on AWS:SourceArn equal to your distribution ARN. It replaces the older Origin Access Identity (OAI) and supports SSE-KMS and all Regions.
{"Effect":"Allow","Principal":{"Service":"cloudfront.amazonaws.com"},"Action":"s3:GetObject",
"Resource":"arn:aws:s3:::site/*",
"Condition":{"StringEquals":{"AWS:SourceArn":"arn:aws:cloudfront::123456789012:distribution/E123"}}}
More on DNS, CDN and Messaging
What are the Route 53 record types and why use Alias instead of CNAME?BeginnerDescribe Route 53 routing policies.IntermediateHow do Route 53 health checks and DNS failover work?AdvancedWhat is a Route 53 private hosted zone?IntermediateHow does DNS TTL relate to failover and migrations?BeginnerWhat are Route 53 Resolver endpoints and rules?Advanced