Skip to content

StartCommandExecution

Source: src/AWS/CodeBuild/StartCommandExecution.ts

Runtime binding for codebuild:StartCommandExecution — runs a shell command in a running sandbox of the bound project. Poll the result with BatchGetCommandExecutions.

const startCommandExecution = yield* AWS.CodeBuild.StartCommandExecution(project);
const { commandExecution } = yield* startCommandExecution({
sandboxId,
command: "echo hello",
});