Skip to content

StopDeployment

Source: src/AWS/CodeDeploy/StopDeployment.ts

Runtime binding for codedeploy:StopDeployment — attempts to stop an ongoing deployment of the bound deployment group (optionally rolling back).

const stopDeployment = yield* AWS.CodeDeploy.StopDeployment(group);
const { status } = yield* stopDeployment({
deploymentId,
autoRollbackEnabled: true,
});