Skip to main content
IAM Policy Map

AWSCodeBuildAdminAccess

AdminAWS managedActivePermissions reviewedShow on mapCompare

Summary

Provides full access to AWS CodeBuild via the AWS Management Console. Also attach AmazonS3ReadOnlyAccess to provide access to download build artifacts, and attach IAMFullAccess to create and manage the service role for CodeBuild.

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

Identity

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

Control-plane actions (124)

By access level: 36 List, 3 Permissions management, 29 Read, 2 Tagging, 54 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
Chatbot2 of 392 Read; 0 restricted, 0 conditionalchatbot:DescribeSlackChannelConfigurations, chatbot:ListMicrosoftTeamsChannelConfigurations
CodeBuildAll 67 actions (see the CodeBuild page)18 List, 2 Permissions management, 12 Read, 35 Write; 0 restricted, 0 conditionalcodebuild:*
CodeCommit5 of 912 List, 3 Read; 0 restricted, 0 conditionalcodecommit:GetBranch, codecommit:GetCommit, codecommit:GetRepository, codecommit:ListBranches, codecommit:ListRepositories
CodeStar Connections14 of 383 List, 6 Read, 2 Tagging, 3 Write; 14 restricted, 0 conditionalcodestar-connections:CreateConnection, codestar-connections:DeleteConnection, codestar-connections:GetConnection, codestar-connections:GetIndividualAccessToken, codestar-connections:GetInstallationUrl, codestar-connections:ListConnections, codestar-connections:ListInstallationTargets, codestar-connections:ListTagsForResource, codestar-connections:PassConnection, codestar-connections:StartOAuthHandshake, codestar-connections:TagResource, codestar-connections:UntagResource and 2 more
CodeStar Notifications10 of 134 List, 1 Read, 5 Write; 6 restricted, 6 conditionalcodestar-notifications:CreateNotificationRule, codestar-notifications:DeleteNotificationRule, codestar-notifications:DescribeNotificationRule, codestar-notifications:ListEventTypes, codestar-notifications:ListNotificationRules, codestar-notifications:ListTagsforResource, codestar-notifications:ListTargets, codestar-notifications:Subscribe, codestar-notifications:Unsubscribe, codestar-notifications:UpdateNotificationRule
EC23 of 8343 List; 0 restricted, 0 conditionalec2:DescribeSecurityGroups, ec2:DescribeSubnets, ec2:DescribeVpcs
Elastic Container Registry2 of 651 List, 1 Read; 0 restricted, 0 conditionalecr:DescribeRepositories, ecr:ListImages
EFS1 of 381 List; 0 restricted, 0 conditionalelasticfilesystem:DescribeFileSystems
EventBridge9 of 712 List, 1 Read, 6 Write; 0 restricted, 0 conditionalevents:DeleteRule, events:DescribeRule, events:DisableRule, events:EnableRule, events:ListRuleNamesByTarget, events:ListTargetsByRule, events:PutRule, events:PutTargets, events:RemoveTargets
CloudWatch Logs2 of 1331 Read, 1 Write; 1 restricted, 0 conditionallogs:DeleteLogGroup, logs:GetLogEvents
S32 of 1551 List, 1 Read; 0 restricted, 0 conditionals3:GetBucketLocation, s3:ListAllMyBuckets
SNS4 of 401 List, 1 Permissions management, 1 Read, 1 Write; 2 restricted, 0 conditionalsns:CreateTopic, sns:GetTopicAttributes, sns:ListTopics, sns:SetTopicAttributes
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)
CodeCommit: 5 actions
  • codecommit:GetBranch (Read)
  • codecommit:GetCommit (Read)
  • codecommit:GetRepository (Read)
  • codecommit:ListBranches (List)
  • codecommit:ListRepositories (List)
CodeStar Connections: 14 actions
  • codestar-connections:CreateConnection (Write)
  • codestar-connections:DeleteConnection (Write)
  • codestar-connections:GetConnection (Read)
  • codestar-connections:GetIndividualAccessToken (Read)
  • codestar-connections:GetInstallationUrl (Read)
  • codestar-connections:ListConnections (List)
  • codestar-connections:ListInstallationTargets (List)
  • codestar-connections:ListTagsForResource (List)
  • codestar-connections:PassConnection (Read)
  • codestar-connections:StartOAuthHandshake (Read)
  • codestar-connections:TagResource (Tagging)
  • codestar-connections:UntagResource (Tagging)
  • codestar-connections:UpdateConnectionInstallation (Write)
  • codestar-connections:UseConnection (Read)
CodeStar Notifications: 10 actions
  • codestar-notifications:CreateNotificationRule (Write)
  • codestar-notifications:DeleteNotificationRule (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)
EC2: 3 actions
  • ec2:DescribeSecurityGroups (List)
  • ec2:DescribeSubnets (List)
  • ec2:DescribeVpcs (List)
Elastic Container Registry: 2 actions
  • ecr:DescribeRepositories (Read)
  • ecr:ListImages (List)
EFS: 1 actions
  • elasticfilesystem:DescribeFileSystems (List)
EventBridge: 9 actions
  • events:DeleteRule (Write)
  • events:DescribeRule (Read)
  • events:DisableRule (Write)
  • events:EnableRule (Write)
  • events:ListRuleNamesByTarget (List)
  • events:ListTargetsByRule (List)
  • events:PutRule (Write)
  • events:PutTargets (Write)
  • events:RemoveTargets (Write)
CloudWatch Logs: 2 actions
  • logs:DeleteLogGroup (Write)
  • logs:GetLogEvents (Read)
S3: 2 actions
  • s3:GetBucketLocation (Read)
  • s3:ListAllMyBuckets (List)
SNS: 4 actions
  • sns:CreateTopic (Write)
  • sns:GetTopicAttributes (Read)
  • sns:ListTopics (List)
  • sns:SetTopicAttributes (Permissions management)
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 at least 80% of the write and permissions-management actions of: codebuild (37 of 37).

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AWSServicesAccess",
      "Action": [
        "codebuild:*",
        "codecommit:GetBranch",
        "codecommit:GetCommit",
        "codecommit:GetRepository",
        "codecommit:ListBranches",
        "codecommit:ListRepositories",
        "cloudwatch:GetMetricStatistics",
        "ec2:DescribeVpcs",
        "ec2:DescribeSecurityGroups",
        "ec2:DescribeSubnets",
        "ecr:DescribeRepositories",
        "ecr:ListImages",
        "elasticfilesystem:DescribeFileSystems",
        "events:DeleteRule",
        "events:DescribeRule",
        "events:DisableRule",
        "events:EnableRule",
        "events:ListTargetsByRule",
        "events:ListRuleNamesByTarget",
        "events:PutRule",
        "events:PutTargets",
        "events:RemoveTargets",
        "logs:GetLogEvents",
        "s3:GetBucketLocation",
        "s3:ListAllMyBuckets"
      ],
      "Effect": "Allow",
      "Resource": "*"
    },
    {
      "Sid": "CWLDeleteLogGroupAccess",
      "Action": [
        "logs:DeleteLogGroup"
      ],
      "Effect": "Allow",
      "Resource": "arn:aws:logs:*:*:log-group:/aws/codebuild/*:log-stream:*"
    },
    {
      "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": "CodeStarConnectionsReadWriteAccess",
      "Effect": "Allow",
      "Action": [
        "codestar-connections:CreateConnection",
        "codestar-connections:DeleteConnection",
        "codestar-connections:UpdateConnectionInstallation",
        "codestar-connections:TagResource",
        "codestar-connections:UntagResource",
        "codestar-connections:ListConnections",
        "codestar-connections:ListInstallationTargets",
        "codestar-connections:ListTagsForResource",
        "codestar-connections:GetConnection",
        "codestar-connections:GetIndividualAccessToken",
        "codestar-connections:GetInstallationUrl",
        "codestar-connections:PassConnection",
        "codestar-connections:StartOAuthHandshake",
        "codestar-connections:UseConnection"
      ],
      "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:DeleteNotificationRule",
        "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": "CodeStarNotificationsSNSTopicCreateAccess",
      "Effect": "Allow",
      "Action": [
        "sns:CreateTopic",
        "sns:SetTopicAttributes"
      ],
      "Resource": "arn:aws:sns:*:*:codestar-notifications*"
    },
    {
      "Sid": "SNSTopicListAccess",
      "Effect": "Allow",
      "Action": [
        "sns:ListTopics",
        "sns:GetTopicAttributes"
      ],
      "Resource": "*"
    },
    {
      "Sid": "CodeStarNotificationsChatbotAccess",
      "Effect": "Allow",
      "Action": [
        "chatbot:DescribeSlackChannelConfigurations",
        "chatbot:ListMicrosoftTeamsChannelConfigurations"
      ],
      "Resource": "*"
    }
  ]
}

Version history

Current version v20, 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/AWSCodeBuildAdminAccess
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AWSCodeBuildAdminAccess
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AWSCodeBuildAdminAccess

CloudFormation

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

Terraform

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

CDK (TypeScript)

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

Sources

Pending editorial review. No editorial sources are listed yet.