Created
March 28, 2019 13:15
-
-
Save ninajlu/7fea69f60d0a76e63d2499c6c5e37d5f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2018-03-27", | |
"Id": "Policy123", | |
"Statement": [ | |
{ | |
"Sid": "Stmt123", | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": "arn:aws:iam::XXXXXXXX:role/[ROLE NAME]" | |
}, | |
"Action": "s3:ListBucket", | |
"Resource": "arn:aws:s3:::[BUCKET_NAME]" | |
}, | |
{ | |
"Sid": "Stmt1234", | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": "arn:aws:iam::XXXXXXXX:role/[ROLE NAME]" | |
}, | |
"Action": "s3:GetObject", | |
"Resource": "arn:aws:s3:::[BUCKET_NAME]/*" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment