Skip to main content
IAM Policy Map

AWSCodeBuildDeveloperAccess

OperatorAWS managedActivePermissions reviewedShow on mapCompare

Summary

Provides access to AWS CodeBuild via the AWS Management Console, but does not allow CodeBuild project administration. Also attach AmazonS3ReadOnlyAccess to provide access to download build artifacts.

Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.

Identity

ARN
arn:aws:iam::aws:policy/AWSCodeBuildDeveloperAccess
Default version
v21
Created
Last edited
Services
chatbot, cloudwatch, codebuild, codecommit, codestar-connections, codestar-notifications, events, logs, s3, sns, ssm, ssmmessages

Control-plane actions (63)

By access level: 28 List, 22 Read, 13 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
Chatbot2 of 392 Read; 0 restricted, 0 conditionalchatbot:DescribeSlackChannelConfigurations, chatbot:ListMicrosoftTeamsChannelConfigurations
CodeBuild35 of 6718 List, 11 Read, 6 Write; 0 restricted, 0 conditionalcodebuild:BatchGet*, codebuild:DescribeCodeCoverages, codebuild:DescribeTestCases, codebuild:GetResourcePolicy, codebuild:List*, codebuild:RetryBuild, codebuild:RetryBuildBatch, codebuild:StartBuild, codebuild:StartBuildBatch, codebuild:StopBuild, codebuild:StopBuildBatch
CodeCommit4 of 911 List, 3 Read; 0 restricted, 0 conditionalcodecommit:GetBranch, codecommit:GetCommit, codecommit:GetRepository, codecommit:ListBranches
CodeStar Connections2 of 381 List, 1 Read; 2 restricted, 0 conditionalcodestar-connections:GetConnection, codestar-connections:ListConnections
CodeStar Notifications9 of 134 List, 1 Read, 4 Write; 5 restricted, 5 conditionalcodestar-notifications:CreateNotificationRule, codestar-notifications:DescribeNotificationRule, codestar-notifications:ListEventTypes, codestar-notifications:ListNotificationRules, codestar-notifications:ListTagsforResource, codestar-notifications:ListTargets, codestar-notifications:Subscribe, codestar-notifications:Unsubscribe, codestar-notifications:UpdateNotificationRule
EventBridge3 of 712 List, 1 Read; 0 restricted, 0 conditionalevents:DescribeRule, events:ListRuleNamesByTarget, events:ListTargetsByRule
CloudWatch Logs1 of 1331 Read; 0 restricted, 0 conditionallogs:GetLogEvents
S32 of 1551 List, 1 Read; 0 restricted, 0 conditionals3:GetBucketLocation, s3:ListAllMyBuckets
SNS2 of 401 List, 1 Read; 0 restricted, 0 conditionalsns:GetTopicAttributes, sns:ListTopics
Systems Manager2 of 1642 Write; 2 restricted, 0 conditionalssm:PutParameter, ssm:StartSession
SSM Messages1 of 41 Write; 1 restricted, 0 conditionalssmmessages:OpenDataChannel
Chatbot: 2 actions
  • chatbot:DescribeSlackChannelConfigurations (Read)
  • chatbot:ListMicrosoftTeamsChannelConfigurations (Read)
CodeBuild: 35 actions
  • codebuild:BatchGetBuildBatches (Read)
  • codebuild:BatchGetBuilds (Read)
  • codebuild:BatchGetCommandExecutions (Read)
  • codebuild:BatchGetFleets (Read)
  • codebuild:BatchGetProjects (Read)
  • codebuild:BatchGetReportGroups (Read)
  • codebuild:BatchGetReports (Read)
  • codebuild:BatchGetSandboxes (Read)
  • codebuild:DescribeCodeCoverages (Read)
  • codebuild:DescribeTestCases (Read)
  • codebuild:GetResourcePolicy (Read)
  • codebuild:ListBuildBatches (List)
  • codebuild:ListBuildBatchesForProject (List)
  • codebuild:ListBuilds (List)
  • codebuild:ListBuildsForProject (List)
  • codebuild:ListCommandExecutionsForSandbox (List)
  • codebuild:ListConnectedOAuthAccounts (List)
  • codebuild:ListCuratedEnvironmentImages (List)
  • codebuild:ListFleets (List)
  • codebuild:ListProjects (List)
  • codebuild:ListReportGroups (List)
  • codebuild:ListReports (List)
  • codebuild:ListReportsForReportGroup (List)
  • codebuild:ListRepositories (List)
  • codebuild:ListSandboxes (List)
  • codebuild:ListSandboxesForProject (List)
  • codebuild:ListSharedProjects (List)
  • codebuild:ListSharedReportGroups (List)
  • codebuild:ListSourceCredentials (List)
  • codebuild:RetryBuild (Write)
  • codebuild:RetryBuildBatch (Write)
  • codebuild:StartBuild (Write)
  • codebuild:StartBuildBatch (Write)
  • codebuild:StopBuild (Write)
  • codebuild:StopBuildBatch (Write)
CodeCommit: 4 actions
  • codecommit:GetBranch (Read)
  • codecommit:GetCommit (Read)
  • codecommit:GetRepository (Read)
  • codecommit:ListBranches (List)
CodeStar Connections: 2 actions
  • codestar-connections:GetConnection (Read)
  • codestar-connections:ListConnections (List)
CodeStar Notifications: 9 actions
  • codestar-notifications:CreateNotificationRule (Write)
  • codestar-notifications:DescribeNotificationRule (Read)
  • codestar-notifications:ListEventTypes (List)
  • codestar-notifications:ListNotificationRules (List)
  • codestar-notifications:ListTagsForResource (List)
  • codestar-notifications:ListTargets (List)
  • codestar-notifications:Subscribe (Write)
  • codestar-notifications:Unsubscribe (Write)
  • codestar-notifications:UpdateNotificationRule (Write)
EventBridge: 3 actions
  • events:DescribeRule (Read)
  • events:ListRuleNamesByTarget (List)
  • events:ListTargetsByRule (List)
CloudWatch Logs: 1 actions
  • logs:GetLogEvents (Read)
S3: 2 actions
  • s3:GetBucketLocation (Read)
  • s3:ListAllMyBuckets (List)
SNS: 2 actions
  • sns:GetTopicAttributes (Read)
  • sns:ListTopics (List)
Systems Manager: 2 actions
  • ssm:PutParameter (Write)
  • ssm:StartSession (Write)
SSM Messages: 1 actions
  • ssmmessages:OpenDataChannel (Write)

Data-plane actions (1)

By access level: 1 Read.

Data-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
CloudWatch1 of 51 Read; 0 restricted, 0 conditionalcloudwatch:GetMetricStatistics
CloudWatch: 1 actions
  • cloudwatch:GetMetricStatistics (Read)

Excluded and conditional actions

No patterns are excluded by NotAction or Deny statements.

Resource scope and attachment

Resource scope across granted actions: mixed.

Can be attached: Yes, to users, groups and roles.

Why this tier

  • Grants 13 write, tagging or permissions-management actions, short of full control of any service.

Guidance

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Same service

Same domain

Frequently asked questions

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Policy JSON

Download policy.json

{
  "Statement": [
    {
      "Sid": "AWSServicesAccess",
      "Action": [
        "codebuild:StartBuild",
        "codebuild:StopBuild",
        "codebuild:StartBuildBatch",
        "codebuild:StopBuildBatch",
        "codebuild:RetryBuild",
        "codebuild:RetryBuildBatch",
        "codebuild:BatchGet*",
        "codebuild:GetResourcePolicy",
        "codebuild:DescribeTestCases",
        "codebuild:DescribeCodeCoverages",
        "codebuild:List*",
        "codecommit:GetBranch",
        "codecommit:GetCommit",
        "codecommit:GetRepository",
        "codecommit:ListBranches",
        "cloudwatch:GetMetricStatistics",
        "events:DescribeRule",
        "events:ListTargetsByRule",
        "events:ListRuleNamesByTarget",
        "logs:GetLogEvents",
        "s3:GetBucketLocation",
        "s3:ListAllMyBuckets"
      ],
      "Effect": "Allow",
      "Resource": "*"
    },
    {
      "Sid": "SSMParameterWriteAccess",
      "Effect": "Allow",
      "Action": [
        "ssm:PutParameter"
      ],
      "Resource": "arn:aws:ssm:*:*:parameter/CodeBuild/*"
    },
    {
      "Sid": "SSMStartSessionAccess",
      "Effect": "Allow",
      "Action": [
        "ssm:StartSession"
      ],
      "Resource": "arn:aws:ecs:*:*:task/*/*"
    },
    {
      "Sid": "SSMOpenDataChannelAccess",
      "Effect": "Allow",
      "Action": [
        "ssmmessages:OpenDataChannel"
      ],
      "Resource": "arn:aws:ssm:*:*:session/*"
    },
    {
      "Sid": "CodeStarConnectionsUserAccess",
      "Effect": "Allow",
      "Action": [
        "codestar-connections:ListConnections",
        "codestar-connections:GetConnection"
      ],
      "Resource": [
        "arn:aws:codestar-connections:*:*:connection/*",
        "arn:aws:codeconnections:*:*:connection/*"
      ]
    },
    {
      "Sid": "CodeStarNotificationsReadWriteAccess",
      "Effect": "Allow",
      "Action": [
        "codestar-notifications:CreateNotificationRule",
        "codestar-notifications:DescribeNotificationRule",
        "codestar-notifications:UpdateNotificationRule",
        "codestar-notifications:Subscribe",
        "codestar-notifications:Unsubscribe"
      ],
      "Resource": "*",
      "Condition": {
        "ArnLike": {
          "codestar-notifications:NotificationsForResource": "arn:aws:codebuild:*:*:project/*"
        }
      }
    },
    {
      "Sid": "CodeStarNotificationsListAccess",
      "Effect": "Allow",
      "Action": [
        "codestar-notifications:ListNotificationRules",
        "codestar-notifications:ListEventTypes",
        "codestar-notifications:ListTargets",
        "codestar-notifications:ListTagsforResource"
      ],
      "Resource": "*"
    },
    {
      "Sid": "SNSTopicListAccess",
      "Effect": "Allow",
      "Action": [
        "sns:ListTopics",
        "sns:GetTopicAttributes"
      ],
      "Resource": "*"
    },
    {
      "Sid": "CodeStarNotificationsChatbotAccess",
      "Effect": "Allow",
      "Action": [
        "chatbot:DescribeSlackChannelConfigurations",
        "chatbot:ListMicrosoftTeamsChannelConfigurations"
      ],
      "Resource": "*"
    }
  ],
  "Version": "2012-10-17"
}

Version history

Current version v21, edited by AWS on 2026-02-12. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.

Attach snippets

AWS CLI

aws iam attach-role-policy --role-name ROLE_NAME --policy-arn arn:aws:iam::aws:policy/AWSCodeBuildDeveloperAccess
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AWSCodeBuildDeveloperAccess
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AWSCodeBuildDeveloperAccess

CloudFormation

Resources:
  ExampleRole:
    Type: AWS::IAM::Role
    Properties:
      AssumeRolePolicyDocument: {}  # replace with your trust policy
      ManagedPolicyArns:
        - arn:aws:iam::aws:policy/AWSCodeBuildDeveloperAccess

Terraform

resource "aws_iam_role_policy_attachment" "awscodebuilddeveloperaccess" {
  role       = aws_iam_role.example.name
  policy_arn = "arn:aws:iam::aws:policy/AWSCodeBuildDeveloperAccess"
}

CDK (TypeScript)

role.addManagedPolicy(
  iam.ManagedPolicy.fromAwsManagedPolicyName("AWSCodeBuildDeveloperAccess"),
);

Sources

Pending editorial review. No editorial sources are listed yet.