AWSCodeBuildReadOnlyAccess - AWS 托管策略

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

AWSCodeBuildReadOnlyAccess

描述:提供通过 AWS Management Console 访问 AWS CodeBuild 的只读访问权限。另请附加 Amazons3ReadOnlyAccess 以提供下载构建构件的权限。

AWSCodeBuildReadOnlyAccess 是一项 AWS 托管式策略

使用此策略

您可以将 AWSCodeBuildReadOnlyAccess 附加到您的用户、组和角色。

策略详细信息

  • 类型:AWS 托管策略

  • 创建时间:2016 年 12 月 1 日 19:03 UTC

  • 编辑时间:2024 年 5 月 2 日 01:23 UTC

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

策略版本

策略版本:v12(默认)

此策略的默认版本是定义策略权限的版本。当使用该策略的用户或角色请求访问 AWS 资源时,AWS 会检查策略的默认版本以确定是否允许该请求。

JSON 策略文档

{ "Statement" : [ { "Sid" : "AWSServicesAccess", "Action" : [ "codebuild:BatchGet*", "codebuild:GetResourcePolicy", "codebuild:List*", "codebuild:DescribeTestCases", "codebuild:DescribeCodeCoverages", "codecommit:GetBranch", "codecommit:GetCommit", "codecommit:GetRepository", "cloudwatch:GetMetricStatistics", "events:DescribeRule", "events:ListTargetsByRule", "events:ListRuleNamesByTarget", "logs:GetLogEvents" ], "Effect" : "Allow", "Resource" : "*" }, { "Sid" : "CodeStarConnectionsUserAccess", "Effect" : "Allow", "Action" : [ "codestar-connections:ListConnections", "codestar-connections:GetConnection" ], "Resource" : [ "arn:aws:codestar-connections:*:*:connection/*", "arn:aws:codeconnections:*:*:connection/*" ] }, { "Sid" : "CodeStarNotificationsPowerUserAccess", "Effect" : "Allow", "Action" : [ "codestar-notifications:DescribeNotificationRule" ], "Resource" : "*", "Condition" : { "StringLike" : { "codestar-notifications:NotificationsForResource" : "arn:aws:codebuild:*" } } }, { "Sid" : "CodeStarNotificationsListAccess", "Effect" : "Allow", "Action" : [ "codestar-notifications:ListNotificationRules", "codestar-notifications:ListEventTypes", "codestar-notifications:ListTargets" ], "Resource" : "*" } ], "Version" : "2012-10-17" }

了解更多信息