This template creates an Amazon S3 bucket that Allows GET Requests From Specific Referers. The bucket policy is attached to the specified bucket and allows GET requests that originate from www.example.com and example.net. The policy allows the `s3:GetObject` action on all objects in the bucket. The principal is set to `*` to allow any AWS identity to perform the action. The condition is set to check the `aws:Referer` header and only allow requests with referers matching the specified URLs.

BucketPolicy
AWS::S3::BucketPolicy


Bucket
AWS::S3::Bucket


CloudFormation Template

Share Template