AWSProtonCodeBuildProvisioningServiceRolePolicy
Description: Allows AWS Proton to manage Proton resource provisioning using CodeBuild and other AWS services on your behalf.
AWSProtonCodeBuildProvisioningServiceRolePolicy
is an AWS managed policy.
Using this policy
This policy is attached to a service-linked role that allows the service to perform actions on your behalf. You cannot attach this policy to your users, groups, or roles.
Policy
details
-
Type: Service-linked role policy
-
Creation time: November 09, 2022, 21:32 UTC
-
Edited time: May 17, 2023, 16:11 UTC
-
ARN:
arn:aws:iam::aws:policy/aws-service-role/AWSProtonCodeBuildProvisioningServiceRolePolicy
Policy version
Policy version: v2 (default)
The policy's default version is the version that defines the permissions for the policy. When a user or role with the policy makes a request to access an AWS resource, AWS checks the default version of the policy to determine whether to allow the request.
JSON policy document
{
"Version" : "2012-10-17",
"Statement" : [
{
"Effect" : "Allow",
"Action" : [
"cloudformation:CreateStack",
"cloudformation:CreateChangeSet",
"cloudformation:DeleteChangeSet",
"cloudformation:DeleteStack",
"cloudformation:UpdateStack",
"cloudformation:DescribeStacks",
"cloudformation:DescribeStackEvents",
"cloudformation:ListStackResources"
],
"Resource" : [
"arn:aws:cloudformation:*:*:stack/AWSProton-CodeBuild-*"
]
},
{
"Effect" : "Allow",
"Action" : [
"codebuild:CreateProject",
"codebuild:DeleteProject",
"codebuild:UpdateProject",
"codebuild:StartBuild",
"codebuild:StopBuild",
"codebuild:RetryBuild",
"codebuild:BatchGetBuilds",
"codebuild:BatchGetProjects"
],
"Resource" : "arn:aws:codebuild:*:*:project/AWSProton*"
},
{
"Effect" : "Allow",
"Action" : "iam:PassRole",
"Resource" : "*",
"Condition" : {
"StringEqualsIfExists" : {
"iam:PassedToService" : "codebuild.amazonaws.com"
}
}
},
{
"Effect" : "Allow",
"Action" : [
"servicequotas:GetServiceQuota"
],
"Resource" : "*"
}
]
}