Last active
August 29, 2015 14:14
-
-
Save flomotlik/957ebacfe70a6da42800 to your computer and use it in GitHub Desktop.
CodeDeploy policies
This file contains hidden or 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
#Link to CodeDeploy IAM details: http://docs.aws.amazon.com/codedeploy/latest/userguide/access-permissions.html | |
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"codedeploy:RegisterApplicationRevision", | |
"codedeploy:GetApplicationRevision" | |
], | |
"Resource": [ | |
"arn:aws:codedeploy:us-east-1:YOUR_AWS_ACCOUNT_ID:application:appname" | |
] | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"codedeploy:CreateDeployment", | |
"codedeploy:GetDeployment" | |
], | |
"Resource": [ | |
"arn:aws:codedeploy:us-east-1:YOUR_AWS_ACCOUNT_ID:deploymentgroup:appname/*" | |
] | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"codedeploy:GetDeploymentConfig" | |
], | |
"Resource": [ | |
"arn:aws:codedeploy:us-east-1:YOUR_AWS_ACCOUNT_ID:deploymentconfig:CodeDeployDefault.OneAtATime", | |
"arn:aws:codedeploy:us-east-1:YOUR_AWS_ACCOUNT_ID:deploymentconfig:CodeDeployDefault.HalfAtATime", | |
"arn:aws:codedeploy:us-east-1:YOUR_AWS_ACCOUNT_ID:deploymentconfig:CodeDeployDefault.AllAtOnce" | |
] | |
} | |
] | |
} |
This file contains hidden or 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": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"s3:PutObject" | |
], | |
"Resource": [ | |
"arn:aws:s3:::codedeploy-bucket/appname" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment