Specify Canned ACL for S3 website access log buckets in Cloudformation

The following Cloudformation snippet will create an S3 bucket with the correct permissions to receive logs from a website hosted on S3:

  WebsiteLogsBucket:
    Type: "AWS::S3::Bucket"
    Properties:
      AccessControl: LogDeliveryWrite

Leave a Reply

Your email address will not be published. Required fields are marked *