To edit policy, in GUI go to
'Bucket => Properties => Add Bucket Policy'
And add for example (just change yourbucketname with the name of your bucket:
{
"Version": "2011-10-24",
"Statement": [
{
"Sid": "AddPerm",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::yourbucketname/*"
}
]
}
"Version": "2011-10-24",
"Statement": [
{
"Sid": "AddPerm",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::yourbucketname/*"
}
]
}
No comments:
Post a Comment