Skip to content

StopPipelineExecution

Source: src/AWS/CodePipeline/StopPipelineExecution.ts

Runtime binding for codepipeline:StopPipelineExecution — stops an in-progress execution, either finishing in-flight actions first or abandoning them (abandon: true).

const stopExecution = yield* AWS.CodePipeline.StopPipelineExecution(pipeline);
yield* stopExecution({
pipelineExecutionId: executionId,
abandon: true,
reason: "superseded by hotfix",
});