codebuild:ListCommandExecutionsForSandbox is a List access-level action in the codebuild service. Grants permission to get a list of command execution IDs for the specified sandbox, with each command execution ID representing a single command execution
ARNs that codebuild:ListCommandExecutionsForSandbox can be scoped to in an IAM policy.
No condition keys are documented for this action.
A minimal policy that allows codebuild:ListCommandExecutionsForSandbox. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowCodebuildListCommandExecutionsForSandbox",
"Effect": "Allow",
"Action": "codebuild:ListCommandExecutionsForSandbox",
"Resource": "*"
}
]
}