Skip to content

Instantly share code, notes, and snippets.

@d-nishi
Last active May 21, 2019 05:57
Show Gist options
  • Save d-nishi/a428241ceff237fb04d3cd403106e2d8 to your computer and use it in GitHub Desktop.
Save d-nishi/a428241ceff237fb04d3cd403106e2d8 to your computer and use it in GitHub Desktop.
CodeBuild Put Service Role
{
"Version": "2012-10-17",
"Statement": [{
"Sid": "CloudWatchLogsPolicy",
"Effect": "Allow",
"Action": [
"logs:CreateLogGroup",
"logs:CreateLogStream",
"logs:PutLogEvents"
],
"Resource": [
"*"
]
},
{
"Sid": "CodeCommitPolicy",
"Effect": "Allow",
"Action": [
"codecommit:GitPull"
],
"Resource": [
"*"
]
},
{
"Sid": "S3GetObjectPolicy",
"Effect": "Allow",
"Action": [
"s3:GetObject",
"s3:GetObjectVersion"
],
"Resource": [
"*"
]
},
{
"Sid": "S3PutObjectPolicy",
"Effect": "Allow",
"Action": [
"s3:PutObject"
],
"Resource": [
"*"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment