Created
May 2, 2019 19:55
-
-
Save joatmon08/61301c8cfa11757b7bf8b861a45407b7 to your computer and use it in GitHub Desktop.
TDD-infra-bucket-01-policy
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": "2012-10-17", | |
"Id": "MyBucketPolicy", | |
"Statement": [ | |
{ | |
"Sid": "statement1", | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": "arn:aws:iam::AccountID:user/test" | |
}, | |
"Action": [ | |
"s3:GetBucketLocation", | |
"s3:ListBucket" | |
], | |
"Resource": [ | |
"arn:aws:s3:::examplebucket" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment