Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
{
"Sid": "AllowList",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::009826608486:user/vhx"
},
"Action": "s3:ListBucket",
"Resource": "arn:aws:s3:::YOUR_BUCKET_NAME"
},
{
"Sid": "AllowGetObject",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::009826608486:user/vhx"
},
"Action": "s3:GetObject*",
"Resource": [
"arn:aws:s3:::YOUR_BUCKET_NAME/YOUR_FOLDER_ALL_FILES/*"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment