codebuild:BatchGetBuilds

Read

codebuild:BatchGetBuilds is a Read access-level action in the codebuild service. Grants permission to get information about one or more builds

Resource types

ARNs that codebuild:BatchGetBuilds can be scoped to in an IAM policy.

arn:${Partition}:codebuild:${Region}:${Account}:project/${ProjectName}
project

Condition keys

Keys you can use in the Condition block of a policy that grants codebuild:BatchGetBuilds.

aws:ResourceTag/${TagKey} String

Filters access by actions based on tag key-value pairs attached to the resource

Example IAM policy

A minimal policy that allows codebuild:BatchGetBuilds. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowCodebuildBatchGetBuilds",
      "Effect": "Allow",
      "Action": "codebuild:BatchGetBuilds",
      "Resource": "*"
    }
  ]
}

Related actions in codebuild

View all codebuild actions →