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
Principal Engineer
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