AWSCodeBuildReadOnlyAccess - AWS Managed Policy

AWSCodeBuildReadOnlyAccess

Description: Provides read only access to AWS CodeBuild via the AWS Management Console. Also attach AmazonS3ReadOnlyAccess to provide access to download build artifacts.

AWSCodeBuildReadOnlyAccess is an AWS managed policy.

Using this policy

You can attach AWSCodeBuildReadOnlyAccess to your users, groups, and roles.

Policy details

  • Type: AWS managed policy

  • Creation time: December 01, 2016, 19:03 UTC

  • Edited time: May 02, 2024, 01:23 UTC

  • ARN: arn:aws:iam::aws:policy/AWSCodeBuildReadOnlyAccess

Policy version

Policy version: v12 (default)

The policy's default version is the version that defines the permissions for the policy. When a user or role with the policy makes a request to access an AWS resource, AWS checks the default version of the policy to determine whether to allow the request.

JSON policy document

{ "Statement" : [ { "Sid" : "AWSServicesAccess", "Action" : [ "codebuild:BatchGet*", "codebuild:GetResourcePolicy", "codebuild:List*", "codebuild:DescribeTestCases", "codebuild:DescribeCodeCoverages", "codecommit:GetBranch", "codecommit:GetCommit", "codecommit:GetRepository", "cloudwatch:GetMetricStatistics", "events:DescribeRule", "events:ListTargetsByRule", "events:ListRuleNamesByTarget", "logs:GetLogEvents" ], "Effect" : "Allow", "Resource" : "*" }, { "Sid" : "CodeStarConnectionsUserAccess", "Effect" : "Allow", "Action" : [ "codestar-connections:ListConnections", "codestar-connections:GetConnection" ], "Resource" : [ "arn:aws:codestar-connections:*:*:connection/*", "arn:aws:codeconnections:*:*:connection/*" ] }, { "Sid" : "CodeStarNotificationsPowerUserAccess", "Effect" : "Allow", "Action" : [ "codestar-notifications:DescribeNotificationRule" ], "Resource" : "*", "Condition" : { "StringLike" : { "codestar-notifications:NotificationsForResource" : "arn:aws:codebuild:*" } } }, { "Sid" : "CodeStarNotificationsListAccess", "Effect" : "Allow", "Action" : [ "codestar-notifications:ListNotificationRules", "codestar-notifications:ListEventTypes", "codestar-notifications:ListTargets" ], "Resource" : "*" } ], "Version" : "2012-10-17" }

Learn more