Skip to content

StartImagePipelineExecution

Source: src/AWS/ImageBuilder/StartImagePipelineExecution.ts

Runtime binding for imagebuilder:StartImagePipelineExecution.

Manually kicks off a build of the bound ImagePipeline — the pipeline’s ARN is injected and the idempotency clientToken is generated automatically. Returns the imageBuildVersionArn of the image being created, for use with GetImage / CancelImageCreation. Provide the implementation with Effect.provide(AWS.ImageBuilder.StartImagePipelineExecutionHttp).

// init — bind the operation to the pipeline
const startBuild = yield* AWS.ImageBuilder.StartImagePipelineExecution(
pipeline,
);
// runtime
const { imageBuildVersionArn } = yield* startBuild();
yield* Effect.log(`building ${imageBuildVersionArn}`);