CodeBuildBasePolicy: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "<syntaxhighlight lang='json'> { { "Version": "2012-10-17", "Statement": [ { "Sid": "VisualEditor0", "Effect": "Allow", "Act...")
 
No edit summary
 
Line 1: Line 1:
<syntaxhighlight lang='json'>
<syntaxhighlight lang='json'>
{
{
{
     "Version": "2012-10-17",
     "Version": "2012-10-17",

Latest revision as of 23:19, 13 February 2019

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "VisualEditor0",
            "Effect": "Allow",
            "Action": [
                "s3:PutObject",
                "s3:GetObject",
                "logs:CreateLogStream",
                "s3:GetBucketAcl",
                "logs:PutLogEvents",
                "s3:GetBucketLocation",
                "s3:GetObjectVersion"
            ],
            "Resource": [
                "arn:aws:logs:us-west-2:673499572719:log-group:/aws/codebuild/playground-ops",
                "arn:aws:logs:us-west-2:673499572719:log-group:/aws/codebuild/playground-ops:*",
                "arn:aws:s3:::codepipeline-us-west-2-*"
            ]
        },
        {
            "Sid": "VisualEditor1",
            "Effect": "Allow",
            "Action": [
                "s3:PutAccountPublicAccessBlock",
                "s3:GetAccountPublicAccessBlock",
                "s3:ListAllMyBuckets",
                "ecr:*",
                "s3:HeadBucket"
            ],
            "Resource": "*"
        },
        {
            "Sid": "VisualEditor2",
            "Effect": "Allow",
            "Action": "s3:*",
            "Resource": "arn:aws:s3:::uplift-private-maven"
        },
        {
            "Sid": "VisualEditor3",
            "Effect": "Allow",
            "Action": "logs:CreateLogGroup",
            "Resource": [
                "arn:aws:logs:us-west-2:673499572719:log-group:/aws/codebuild/playground-ops",
                "arn:aws:logs:us-west-2:673499572719:log-group:/aws/codebuild/playground-ops:*"
            ]
        }
    ]
}