Created
March 27, 2021 19:28
-
-
Save zendevil/e3c82cc953be8d8dbaa2debbfaa2e2f7 to your computer and use it in GitHub Desktop.
bucket 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": "2008-10-17", | |
"Statement": [ | |
{ | |
"Sid": "eb-ad78f54a-f239-4c90-adda-49e5f56cb51e", | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": "arn:aws:iam::155404741487:role/aws-elasticbeanstalk-ec2-role" | |
}, | |
"Action": "s3:PutObject", | |
"Resource": "arn:aws:s3:::elasticbeanstalk-us-east-1-155404741487/resources/environments/logs/*" | |
}, | |
{ | |
"Sid": "eb-58950a8c-feb6-11e2-89e0-0800277d041b", | |
"Effect": "Deny", | |
"Principal": { | |
"AWS": "*" | |
}, | |
"Action": "s3:DeleteBucket", | |
"Resource": "arn:aws:s3:::elasticbeanstalk-us-east-1-155404741487" | |
}, | |
{ | |
"Sid": "eb-af163bf3-d27b-4712-b795-d1e33e331ca4", | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": [ | |
"arn:aws:iam::155404741487:role/aws-elasticbeanstalk-ec2-role", | |
"arn:aws:iam::155404741487:role/humboiserver-role" | |
] | |
}, | |
"Action": [ | |
"s3:ListBucket", | |
"s3:ListBucketVersions", | |
"s3:GetObject", | |
"s3:GetObjectVersion" | |
], | |
"Resource": [ | |
"arn:aws:s3:::elasticbeanstalk-us-east-1-155404741487", | |
"arn:aws:s3:::elasticbeanstalk-us-east-1-155404741487/resources/environments/*" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment