{ "Version": "2012-10-17", "Statement": [ { "Condition": { "StringLike": { "s3:x-amz-acl": "bucket-owner-full-control" } }, "Action": [ "s3:PutObject*" ], "Resource": [ "arn:aws:s3:::*/AWSLogs/*/*" ], "Effect": "Allow" }, { "Action": [ "s3:GetBucketAcl" ], "Resource": "arn:aws:s3:::*", "Effect": "Allow" } ] }