Skip to content

Instantly share code, notes, and snippets.

@joatmon08
Created April 20, 2019 19:18
Show Gist options
  • Select an option

  • Save joatmon08/7ccff496dc6c0ace8675b7e8a8dde7a7 to your computer and use it in GitHub Desktop.

Select an option

Save joatmon08/7ccff496dc6c0ace8675b7e8a8dde7a7 to your computer and use it in GitHub Desktop.
TDD-Infra-bucket-02
{
"Version": "2012-10-17",
"Id": "MyBucketPolicy",
"Statement": [
{
"Sid": "AllowWriteUser",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::AccountID:user/test"
},
"Action": [],
"Resource": [
"arn:aws:s3:::examplebucket"
]
},
{
"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