aws 资源设置可匿名访问,不能访问的问题
我对aws S3上的存储桶设置了可匿名访问如下:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AddPerm",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": [
"arn:aws-cn:s3:::examplebucket/*"
]
}
]
}
可是直接在浏览器里访问资源时一直提示“You are not authorized to perform this operation”, 这是怎么回事呢