AWSCodeCommitReadOnly - AWS Kebijakan Terkelola

Terjemahan disediakan oleh mesin penerjemah. Jika konten terjemahan yang diberikan bertentangan dengan versi bahasa Inggris aslinya, utamakan versi bahasa Inggris.

AWSCodeCommitReadOnly

Deskripsi: Menyediakan akses hanya baca AWS CodeCommit melalui AWS Management Console.

AWSCodeCommitReadOnlyadalah kebijakan yang AWS dikelola.

Menggunakan kebijakan ini

Anda dapat melampirkan AWSCodeCommitReadOnly ke pengguna, grup, dan peran Anda.

Rincian kebijakan

  • Jenis: kebijakan AWS terkelola

  • Waktu pembuatan: 09 Juli 2015, 17:05 UTC

  • Waktu yang telah diedit: 18 Agustus 2021, 18:18 UTC

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

Versi kebijakan

Versi kebijakan: v11 (default)

Versi default kebijakan adalah versi yang menentukan izin untuk kebijakan tersebut. Saat pengguna atau peran dengan kebijakan membuat permintaan untuk mengakses AWS sumber daya, AWS periksa versi default kebijakan untuk menentukan apakah akan mengizinkan permintaan tersebut.

Dokumen kebijakan JSON

{ "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" : { "StringLike" : { "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" : "*" } ] }

Pelajari selengkapnya