Skip to content

PutLifecycleEventHookExecutionStatus

Source: src/AWS/CodeDeploy/PutLifecycleEventHookExecutionStatus.ts

Runtime binding for codedeploy:PutLifecycleEventHookExecutionStatus — the canonical CodeDeploy data-plane call: a Lambda validation hook (BeforeAllowTraffic/AfterAllowTraffic for Lambda deployments, plus BeforeInstall/AfterInstall/AfterAllowTestTraffic for ECS) reports Succeeded or Failed back to the paused deployment.

const putHookStatus =
yield* AWS.CodeDeploy.PutLifecycleEventHookExecutionStatus(group);
yield* putHookStatus({
deploymentId: event.DeploymentId,
lifecycleEventHookExecutionId: event.LifecycleEventHookExecutionId,
status: "Succeeded",
});