




Add a more statement arn:aws:s3:::ws1-cloudfront/* on script as below
{
"Id": "Policy1725252919233",
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt1725252905058",
"Action": [
"s3:GetObject",
"s3:ListBucket"
],
"Effect": "Allow",
"Resource": [
"arn:aws:s3:::ws1-cloudfront",
"arn:aws:s3:::ws1-cloudfront/*"
],
"Principal": "*"
}
]
}
