codebuild:StartCommandExecution

Write

codebuild:StartCommandExecution is a Write access-level action in the codebuild service. Grants permission to start running a command execution

Resource types

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

arn:${Partition}:codebuild:${Region}:${Account}:sandbox/${SandboxId}
sandbox

Condition keys

No condition keys are documented for this action.

Example IAM policy

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

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

Related actions in codebuild

View all codebuild actions →