Skip to content

Commit

Permalink
Merge pull request #15 from 0x4447/development
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgatti authored May 10, 2019
2 parents 3de6a44 + 011d2c0 commit a330566
Show file tree
Hide file tree
Showing 3 changed files with 317 additions and 230 deletions.
40 changes: 40 additions & 0 deletions 07_Resources/IAM/group.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"IAMGroup": {
"Type": "AWS::IAM::Group",
"Properties": {
"GroupName": "0x4447_s3_email",
"Policies": [
{
"PolicyName": "l_r_w_d_plus_rename",
"PolicyDocument": {
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:ListBucket",
"s3:GetObject",
"s3:PutObject",
"s3:DeleteObject",
"s3:GetObjectAcl",
"s3:GetObjectVersionAcl",
"s3:PutObjectAcl",
"s3:PutObjectVersionAcl"
],
"Resource": [
{ "Fn::Sub": "arn:aws:s3:::${S3Email}" },
{ "Fn::Sub": "arn:aws:s3:::${S3Email}/*" }
]
},
{
"Effect": "Allow",
"Action": "s3:ListAllMyBuckets",
"Resource": "*"
}
]
}
}
]
}
}
}
Loading

0 comments on commit a330566

Please sign in to comment.