Skip to content

StopDeployment

Source: src/AWS/AppConfig/StopDeployment.ts

Stop (or revert) an AppConfig deployment from a Lambda (or other AWS runtime). Stopping an in-progress rollout rolls it back; with AllowRevert: true a completed deployment can be reverted within 72 hours.

Provide AppConfig.StopDeploymentHttp on the hosting function’s Effect to implement the binding.

const stopDeployment = yield* AppConfig.StopDeployment(app, env);
yield* stopDeployment({ DeploymentNumber: 2 });