Skip to content

Instantly share code, notes, and snippets.

@hanuor
Created November 10, 2019 14:28
Show Gist options
  • Save hanuor/425d6704fb9e750fbc39819818d098b0 to your computer and use it in GitHub Desktop.
Save hanuor/425d6704fb9e750fbc39819818d098b0 to your computer and use it in GitHub Desktop.
{
"Version": "2008-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::sample-bucket/profile_images*"
},
{
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::sample-bucket/extra_folder*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment