Skip to main content
IAM Policy Map

AWSCodePipeline_FullAccess

AdminAWS managedActivePermissions reviewedShow on mapCompare

Summary

Provides full access to AWS CodePipeline via the AWS Management Console.

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

Identity

ARN
arn:aws:iam::aws:policy/AWSCodePipeline_FullAccess
Default version
v3
Created
Last edited
Services
chatbot, cloudformation, cloudtrail, codebuild, codecommit, codedeploy, codepipeline, codestar-notifications, ec2, ecr, ecs, elasticbeanstalk, events, iam, lambda, opsworks, s3, sns, states

Control-plane actions (107)

By access level: 34 List, 2 Permissions management, 25 Read, 2 Tagging, 44 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
Chatbot2 of 392 Read; 0 restricted, 0 conditionalchatbot:DescribeSlackChannelConfigurations, chatbot:ListMicrosoftTeamsChannelConfigurations
CloudFormation3 of 1043 List; 0 restricted, 0 conditionalcloudformation:DescribeStacks, cloudformation:ListChangeSets, cloudformation:ListStacks
CloudTrail5 of 662 Read, 3 Write; 4 restricted, 0 conditionalcloudtrail:CreateTrail, cloudtrail:DescribeTrails, cloudtrail:GetEventSelectors, cloudtrail:PutEventSelectors, cloudtrail:StartLogging
CodeBuild4 of 672 List, 1 Read, 1 Write; 0 restricted, 0 conditionalcodebuild:BatchGetProjects, codebuild:CreateProject, codebuild:ListCuratedEnvironmentImages, codebuild:ListProjects
CodeCommit3 of 912 List, 1 Read; 0 restricted, 0 conditionalcodecommit:GetReferences, codecommit:ListBranches, codecommit:ListRepositories
CodeDeploy3 of 482 List, 1 Read; 0 restricted, 0 conditionalcodedeploy:BatchGetDeploymentGroups, codedeploy:ListApplications, codedeploy:ListDeploymentGroups
CodePipelineAll 44 actions (see the CodePipeline page)3 List, 12 Read, 2 Tagging, 27 Write; 0 restricted, 0 conditionalcodepipeline:*
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
Elastic Container Service2 of 922 List; 0 restricted, 0 conditionalecs:ListClusters, ecs:ListServices
Elastic Beanstalk2 of 502 List; 0 restricted, 0 conditionalelasticbeanstalk:DescribeApplications, elasticbeanstalk:DescribeEnvironments
EventBridge8 of 712 List, 1 Read, 5 Write; 5 restricted, 0 conditionalevents:DeleteRule, events:DescribeRule, events:DisableRule, events:ListRules, events:ListTargetsByRule, events:PutRule, events:PutTargets, events:RemoveTargets
IAM3 of 1901 List, 1 Read, 1 Write; 1 restricted, 1 conditionaliam:GetRole, iam:ListRoles, iam:PassRole
Lambda1 of 1211 List; 0 restricted, 0 conditionallambda:ListFunctions
OpsWorks3 of 743 List; 0 restricted, 0 conditionalopsworks:DescribeApps, opsworks:DescribeLayers, opsworks:DescribeStacks
S35 of 1551 List, 1 Permissions management, 2 Read, 1 Write; 4 restricted, 0 conditionals3:CreateBucket, s3:GetBucketPolicy, s3:GetBucketVersioning, s3:ListAllMyBuckets, s3:PutBucketPolicy
SNS3 of 401 List, 1 Permissions management, 1 Write; 2 restricted, 0 conditionalsns:CreateTopic, sns:ListTopics, sns:SetTopicAttributes
Step Functions1 of 371 List; 0 restricted, 0 conditionalstates:ListStateMachines
Chatbot: 2 actions
  • chatbot:DescribeSlackChannelConfigurations (Read)
  • chatbot:ListMicrosoftTeamsChannelConfigurations (Read)
CloudFormation: 3 actions
  • cloudformation:DescribeStacks (List)
  • cloudformation:ListChangeSets (List)
  • cloudformation:ListStacks (List)
CloudTrail: 5 actions
  • cloudtrail:CreateTrail (Write)
  • cloudtrail:DescribeTrails (Read)
  • cloudtrail:GetEventSelectors (Read)
  • cloudtrail:PutEventSelectors (Write)
  • cloudtrail:StartLogging (Write)
CodeBuild: 4 actions
  • codebuild:BatchGetProjects (Read)
  • codebuild:CreateProject (Write)
  • codebuild:ListCuratedEnvironmentImages (List)
  • codebuild:ListProjects (List)
CodeCommit: 3 actions
  • codecommit:GetReferences (Read)
  • codecommit:ListBranches (List)
  • codecommit:ListRepositories (List)
CodeDeploy: 3 actions
  • codedeploy:BatchGetDeploymentGroups (Read)
  • codedeploy:ListApplications (List)
  • codedeploy:ListDeploymentGroups (List)
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)
Elastic Container Service: 2 actions
  • ecs:ListClusters (List)
  • ecs:ListServices (List)
Elastic Beanstalk: 2 actions
  • elasticbeanstalk:DescribeApplications (List)
  • elasticbeanstalk:DescribeEnvironments (List)
EventBridge: 8 actions
  • events:DeleteRule (Write)
  • events:DescribeRule (Read)
  • events:DisableRule (Write)
  • events:ListRules (List)
  • events:ListTargetsByRule (List)
  • events:PutRule (Write)
  • events:PutTargets (Write)
  • events:RemoveTargets (Write)
IAM: 3 actions
  • iam:GetRole (Read)
  • iam:ListRoles (List)
  • iam:PassRole (Write)
Lambda: 1 actions
  • lambda:ListFunctions (List)
OpsWorks: 3 actions
  • opsworks:DescribeApps (List)
  • opsworks:DescribeLayers (List)
  • opsworks:DescribeStacks (List)
S3: 5 actions
  • s3:CreateBucket (Write)
  • s3:GetBucketPolicy (Read)
  • s3:GetBucketVersioning (Read)
  • s3:ListAllMyBuckets (List)
  • s3:PutBucketPolicy (Permissions management)
SNS: 3 actions
  • sns:CreateTopic (Write)
  • sns:ListTopics (List)
  • sns:SetTopicAttributes (Permissions management)
Step Functions: 1 actions
  • states:ListStateMachines (List)

Data-plane actions (3)

By access level: 1 List, 2 Read.

Data-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
S33 of 251 List, 2 Read; 3 restricted, 0 conditionals3:GetObject, s3:GetObjectVersion, s3:ListBucket
S3: 3 actions
  • s3:GetObject (Read)
  • s3:GetObjectVersion (Read)
  • s3:ListBucket (List)

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: codepipeline (27 of 27).
  • Grants iam:PassRole, but only for scoped roles or under conditions (for example iam:PassedToService).

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": [
    {
      "Action": [
        "codepipeline:*",
        "cloudformation:DescribeStacks",
        "cloudformation:ListStacks",
        "cloudformation:ListChangeSets",
        "cloudtrail:DescribeTrails",
        "codebuild:BatchGetProjects",
        "codebuild:CreateProject",
        "codebuild:ListCuratedEnvironmentImages",
        "codebuild:ListProjects",
        "codecommit:ListBranches",
        "codecommit:GetReferences",
        "codecommit:ListRepositories",
        "codedeploy:BatchGetDeploymentGroups",
        "codedeploy:ListApplications",
        "codedeploy:ListDeploymentGroups",
        "ec2:DescribeSecurityGroups",
        "ec2:DescribeSubnets",
        "ec2:DescribeVpcs",
        "ecr:DescribeRepositories",
        "ecr:ListImages",
        "ecs:ListClusters",
        "ecs:ListServices",
        "elasticbeanstalk:DescribeApplications",
        "elasticbeanstalk:DescribeEnvironments",
        "iam:ListRoles",
        "iam:GetRole",
        "lambda:ListFunctions",
        "events:ListRules",
        "events:ListTargetsByRule",
        "events:DescribeRule",
        "opsworks:DescribeApps",
        "opsworks:DescribeLayers",
        "opsworks:DescribeStacks",
        "s3:ListAllMyBuckets",
        "sns:ListTopics",
        "codestar-notifications:ListNotificationRules",
        "codestar-notifications:ListTargets",
        "codestar-notifications:ListTagsforResource",
        "codestar-notifications:ListEventTypes",
        "states:ListStateMachines"
      ],
      "Effect": "Allow",
      "Resource": "*",
      "Sid": "CodePipelineAuthoringAccess"
    },
    {
      "Action": [
        "s3:GetObject",
        "s3:ListBucket",
        "s3:GetBucketPolicy",
        "s3:GetBucketVersioning",
        "s3:GetObjectVersion",
        "s3:CreateBucket",
        "s3:PutBucketPolicy"
      ],
      "Effect": "Allow",
      "Resource": "arn:aws:s3::*:codepipeline-*",
      "Sid": "CodePipelineArtifactsReadWriteAccess"
    },
    {
      "Action": [
        "cloudtrail:PutEventSelectors",
        "cloudtrail:CreateTrail",
        "cloudtrail:GetEventSelectors",
        "cloudtrail:StartLogging"
      ],
      "Effect": "Allow",
      "Resource": "arn:aws:cloudtrail:*:*:trail/codepipeline-source-trail",
      "Sid": "CodePipelineSourceTrailReadWriteAccess"
    },
    {
      "Action": [
        "iam:PassRole"
      ],
      "Effect": "Allow",
      "Resource": [
        "arn:aws:iam::*:role/service-role/cwe-role-*"
      ],
      "Condition": {
        "StringEquals": {
          "iam:PassedToService": [
            "events.amazonaws.com"
          ]
        }
      },
      "Sid": "EventsIAMPassRole"
    },
    {
      "Action": [
        "iam:PassRole"
      ],
      "Effect": "Allow",
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "iam:PassedToService": [
            "codepipeline.amazonaws.com"
          ]
        }
      },
      "Sid": "CodePipelineIAMPassRole"
    },
    {
      "Action": [
        "events:PutRule",
        "events:PutTargets",
        "events:DeleteRule",
        "events:DisableRule",
        "events:RemoveTargets"
      ],
      "Effect": "Allow",
      "Resource": [
        "arn:aws:events:*:*:rule/codepipeline-*"
      ],
      "Sid": "CodePipelineEventsReadWriteAccess"
    },
    {
      "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": {
        "StringLike": {
          "codestar-notifications:NotificationsForResource": "arn:aws:codepipeline:*"
        }
      }
    },
    {
      "Sid": "CodeStarNotificationsSNSTopicCreateAccess",
      "Effect": "Allow",
      "Action": [
        "sns:CreateTopic",
        "sns:SetTopicAttributes"
      ],
      "Resource": "arn:aws:sns:*:*:codestar-notifications*"
    },
    {
      "Sid": "CodeStarNotificationsChatbotAccess",
      "Effect": "Allow",
      "Action": [
        "chatbot:DescribeSlackChannelConfigurations",
        "chatbot:ListMicrosoftTeamsChannelConfigurations"
      ],
      "Resource": "*"
    }
  ],
  "Version": "2012-10-17"
}

Version history

Current version v3, edited by AWS on 2024-03-14. 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/AWSCodePipeline_FullAccess
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AWSCodePipeline_FullAccess
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AWSCodePipeline_FullAccess

CloudFormation

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

Terraform

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

CDK (TypeScript)

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

Sources

Pending editorial review. No editorial sources are listed yet.