AWSCodeCommitReadOnly

Last Modified

Mar 12, 2026

March 12, 2026 at 09:25 PM UTC

Version

v14

Total Versions

15

Created

Feb 12, 2026

Actions

28

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Effect": "Allow",
          "Action": [
            "codecommit:BatchGet*",
            "codecommit:BatchDescribe*",
            "codecommit:Describe*",
            "codecommit:EvaluatePullRequestApprovalRules",
            "codecommit:Get*",
            "codecommit:List*",
            "codecommit:GitPull"
          ],
          "Resource": "*"
        },
        {
          "Sid": "CloudWatchEventsCodeCommitRulesReadOnlyAccess",
          "Effect": "Allow",
          "Action": [
            "events:DescribeRule",
            "events:ListTargetsByRule"
          ],
          "Resource": "arn:aws:events:*:*:rule/codecommit*"
        },
        {
          "Sid": "SNSSubscriptionAccess",
          "Effect": "Allow",
          "Action": [
            "sns:ListTopics",
            "sns:ListSubscriptionsByTopic",
            "sns:GetTopicAttributes"
          ],
          "Resource": "*"
        },
        {
          "Sid": "LambdaReadOnlyListAccess",
          "Effect": "Allow",
          "Action": [
            "lambda:ListFunctions"
          ],
          "Resource": "*"
        },
        {
          "Sid": "IAMReadOnlyListAccess",
          "Effect": "Allow",
          "Action": [
            "iam:ListUsers"
          ],
          "Resource": "*"
        },
        {
          "Sid": "IAMReadOnlyConsoleAccess",
          "Effect": "Allow",
          "Action": [
            "iam:ListSSHPublicKeys",
            "iam:ListServiceSpecificCredentials",
            "iam:ListAccessKeys",
            "iam:GetSSHPublicKey"
          ],
          "Resource": "arn:aws:iam::*:user/${aws:username}"
        },
        {
          "Sid": "CodeStarConnectionsReadOnlyAccess",
          "Effect": "Allow",
          "Action": [
            "codestar-connections:ListConnections",
            "codestar-connections:GetConnection"
          ],
          "Resource": "arn:aws:codestar-connections:*:*:connection/*"
        },
        {
          "Sid": "CodeStarNotificationsReadOnlyAccess",
          "Effect": "Allow",
          "Action": [
            "codestar-notifications:DescribeNotificationRule"
          ],
          "Resource": "*",
          "Condition": {
            "ArnLike": {
              "codestar-notifications:NotificationsForResource": "arn:aws:codecommit:*:*:*"
            }
          }
        },
        {
          "Sid": "CodeStarNotificationsListAccess",
          "Effect": "Allow",
          "Action": [
            "codestar-notifications:ListNotificationRules",
            "codestar-notifications:ListEventTypes",
            "codestar-notifications:ListTargets"
          ],
          "Resource": "*"
        },
        {
          "Sid": "AmazonCodeGuruReviewerReadOnlyAccess",
          "Effect": "Allow",
          "Action": [
            "codeguru-reviewer:DescribeRepositoryAssociation",
            "codeguru-reviewer:ListRepositoryAssociations",
            "codeguru-reviewer:DescribeCodeReview",
            "codeguru-reviewer:ListCodeReviews"
          ],
          "Resource": "*"
        }
      ]
    },
    "VersionId": "v14",
    "IsDefaultVersion": true,
    "CreateDate": "2026-02-12T18:00:25+00:00"
  }
}

Version History (20 recorded)

Raw history

AWSCodeCommitReadOnly - Policy Version v14

No recorded action delta - this version predates the change index. View the raw diff.

Mar 12, 2026

152e183

AWSCodeCommitReadOnly - Policy Version v14

No recorded action delta - this version predates the change index. View the raw diff.

Feb 12, 2026

cada747

AWSCodeCommitReadOnly - Policy Version v13

No recorded action delta - this version predates the change index. View the raw diff.

Feb 12, 2026

574fe81

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Jan 10, 2025

51c001c

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 18, 2024

aafbae9

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

May 13, 2024

1b36617

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Aug 18, 2021

8be7108

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Jul 31, 2020

dae4598

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Jun 24, 2020

94c502a

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Mar 26, 2020

79464cc

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Dec 3, 2019

96785c3

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Nov 20, 2019

249d03e

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Nov 6, 2019

c9d7316

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 16, 2019

49aa1d0

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 16, 2019

71619cf

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 16, 2019

8279033

`2019-08-29`

No recorded action delta - this version predates the change index. View the raw diff.

Aug 29, 2019

5016d52

I updated my CLI and it looks like it reordered everything and changed the white-space, so everything looks changed, but is not

No recorded action delta - this version predates the change index. View the raw diff.

Jul 12, 2019

9d2dff1

Update

No recorded action delta - this version predates the change index. View the raw diff.

May 15, 2019

8fc6edd

First commit

No recorded action delta - this version predates the change index. View the raw diff.

Feb 10, 2019

ad4c2e8