Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
natonic committed Oct 20, 2019
1 parent ee71b58 commit d2b10b1
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions lambdaexecutionpolicy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"logs:*"
],
"Resource": "arn:aws:logs:*:*:*"
},
{
"Effect": "Allow",
"Action": [
"s3:GetObject"
],
"Resource": [
"arn:aws:s3:::BUCKETNAME/*"
]
},
{
"Effect": "Allow",
"Action": "codedeploy:GetDeploymentConfig",
"Resource": "arn:aws:codedeploy:REGION:ACCOUNT-NUMBER:deploymentconfig:*"
},
{
"Effect": "Allow",
"Action": "codedeploy:RegisterApplicationRevision",
"Resource": "arn:aws:codedeploy:REGION:ACCOUNT-NUMBER:application:*"
},
{
"Effect": "Allow",
"Action": "codedeploy:GetApplicationRevision",
"Resource": "arn:aws:codedeploy:REGION:ACCOUNT-NUMBER:application:*"
},
{
"Effect": "Allow",
"Action": "codedeploy:CreateDeployment",
"Resource": "arn:aws:codedeploy:REGION:ACCOUNT-NUMBER:deploymentgroup:*"
}
]
}

0 comments on commit d2b10b1

Please sign in to comment.