capabilities.work

Update Pipeline and Run

A 3-step recipe with Amazon EC2 Image Builder. We can help you get access.

Recipe · 3 steps

Update Pipeline and Run

Get a pipeline, update its distribution configuration and status, then start a build.

  1. Read the existing image pipeline to capture the recipe and infrastructure configuration ARNs it currently references.
  2. Update the pipeline to attach the new distribution configuration and set its status to ENABLED, keeping the existing recipe and infrastructure configuration.
  3. Manually trigger the updated pipeline to build a fresh image with the new distribution configuration.
What you'll need to have ready
  • imagePipelineArn: The ARN of the image pipeline to update and run.
  • distributionConfigurationArn: The ARN of the distribution configuration to attach to the pipeline.
  • clientToken: An idempotency token reused across the update and start requests.
For your developer

Arazzo workflow amazon-ec2-image-builder:update-pipeline-and-run, 3 operations: GetImagePipeline → UpdateImagePipeline → StartImagePipelineExecution. Specs on APIs.io.