Created
April 20, 2019 19:35
-
-
Save joatmon08/5bdb45597ff643f81bdc3c308d0a2ae1 to your computer and use it in GitHub Desktop.
TDD-Infra-bucket-03
This file contains hidden or 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": "2012-10-17", | |
| "Id": "MyBucketPolicy", | |
| "Statement": [ | |
| { | |
| "Sid": "AllowWriteUser", | |
| "Effect": "Allow", | |
| "Principal": { | |
| "AWS": "arn:aws:iam::REDACTED:user/MyBucketWriteUser" | |
| }, | |
| "Action": [ | |
| "s3:PutObject" | |
| ], | |
| "Resource": [ | |
| "arn:aws:s3:::MyBucket/*" | |
| ] | |
| }, | |
| { | |
| "Sid": "AllowReadUser", | |
| "Effect": "Allow", | |
| "Principal": { | |
| "AWS": "arn:aws:iam::AccountID:user/test" | |
| }, | |
| "Action": [], | |
| "Resource": [ | |
| "arn:aws:s3:::examplebucket" | |
| ] | |
| }, | |
| { | |
| "Sid": "AllowAdminRole", | |
| "Effect": "Allow", | |
| "Principal": { | |
| "AWS": "arn:aws:iam::AccountID:user/test" | |
| }, | |
| "Action": [], | |
| "Resource": [ | |
| "arn:aws:s3:::examplebucket" | |
| ] | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment