Skip to content

Instantly share code, notes, and snippets.

@vidanov
Created July 5, 2019 14:58
Show Gist options
  • Save vidanov/7bc319b350da22ef002a854f434c9ae0 to your computer and use it in GitHub Desktop.
Save vidanov/7bc319b350da22ef002a854f434c9ae0 to your computer and use it in GitHub Desktop.
s3 source bucket policy
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "DelegateS3Access",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::12345678910:root"
},
"Action": [
"s3:GetObject",
"s3:GetObjectAcl",
"s3:GetBucketLocation",
"s3:ListBucket"
],
"Resource": [
"arn:aws:s3:::thisBucketName",
"arn:aws:s3:::thisBucketName/*"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment