Skip to content

ContinueServiceDeployment

Source: src/AWS/ECS/ContinueServiceDeployment.ts

Runtime binding for ecs:ContinueServiceDeployment.

Bind this operation to a Service inside a function runtime to get a callable that resumes a blue/green deployment paused at a lifecycle-hook stage — the canonical consumer is the deployment lifecycle-hook Lambda that validates the green revision and then approves (or vetoes) the traffic shift. The host is granted ecs:ContinueServiceDeployment on the bound service’s deployments.

const continueServiceDeployment =
yield* AWS.ECS.ContinueServiceDeployment(service);
yield* continueServiceDeployment({
serviceDeploymentArn: deploymentArn,
hookId,
});