Amazon EC2 Image Builder · Arazzo Workflow

Amazon EC2 Image Builder Update Pipeline and Run

Version 1.0.0

Read an existing image pipeline, point it at a new distribution configuration, enable it, and trigger a build.

1 workflow 3 source APIs 1 provider
View Spec View on GitHub Amazon Web ServicesAutomationContainer ImagesEC2Image BuildingVirtual Machine ImagesArazzoWorkflows

Provider

amazon-ec2-image-builder

Workflows

update-pipeline-and-run
Get a pipeline, update its distribution configuration and status, then start a build.
Reads an image pipeline, updates it with a new distribution configuration and an ENABLED status while preserving its existing recipe and infrastructure configuration, then manually triggers an execution.
3 steps inputs: clientToken, distributionConfigurationArn, imagePipelineArn outputs: imageBuildVersionArn, updatedPipelineArn
1
getImagePipeline
Read the existing image pipeline to capture the recipe and infrastructure configuration ARNs it currently references.
2
updateImagePipeline
Update the pipeline to attach the new distribution configuration and set its status to ENABLED, keeping the existing recipe and infrastructure configuration.
3
startExecution
Manually trigger the updated pipeline to build a fresh image with the new distribution configuration.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Amazon EC2 Image Builder Update Pipeline and Run
  summary: Read an existing image pipeline, point it at a new distribution configuration, enable it, and trigger a build.
  description: >-
    Reconfigures and exercises an existing image pipeline. The workflow first
    reads the current pipeline to capture the recipe and infrastructure
    configuration it already uses, then updates the pipeline to attach a new
    distribution configuration and set its status to ENABLED, and finally starts
    a manual execution so a fresh image is built with the updated settings.
    Every step spells out its request inline so the flow can be read and executed
    without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: getimagepipelineImagepipelinearnApi
  url: ../openapi/amazon-ec2-image-builder-getimagepipeline-imagepipelinearn-api-openapi.yml
  type: openapi
- name: startimagepipelineexecutionApi
  url: ../openapi/amazon-ec2-image-builder-startimagepipelineexecution-api-openapi.yml
  type: openapi
- name: updateimagepipelineApi
  url: ../openapi/amazon-ec2-image-builder-updateimagepipeline-api-openapi.yml
  type: openapi
workflows:
- workflowId: update-pipeline-and-run
  summary: Get a pipeline, update its distribution configuration and status, then start a build.
  description: >-
    Reads an image pipeline, updates it with a new distribution configuration
    and an ENABLED status while preserving its existing recipe and
    infrastructure configuration, then manually triggers an execution.
  inputs:
    type: object
    required:
    - imagePipelineArn
    - distributionConfigurationArn
    properties:
      imagePipelineArn:
        type: string
        description: The ARN of the image pipeline to update and run.
      distributionConfigurationArn:
        type: string
        description: The ARN of the distribution configuration to attach to the pipeline.
      clientToken:
        type: string
        description: An idempotency token reused across the update and start requests.
        default: arazzo-update-run-0001
  steps:
  - stepId: getImagePipeline
    description: >-
      Read the existing image pipeline to capture the recipe and infrastructure
      configuration ARNs it currently references.
    operationId: GetImagePipeline
    parameters:
    - name: imagePipelineArn
      in: query
      value: $inputs.imagePipelineArn
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      imageRecipeArn: $response.body#/imagePipeline/imageRecipeArn
      infrastructureConfigurationArn: $response.body#/imagePipeline/infrastructureConfigurationArn
  - stepId: updateImagePipeline
    description: >-
      Update the pipeline to attach the new distribution configuration and set
      its status to ENABLED, keeping the existing recipe and infrastructure
      configuration.
    operationId: UpdateImagePipeline
    requestBody:
      contentType: application/json
      payload:
        imagePipelineArn: $inputs.imagePipelineArn
        imageRecipeArn: $steps.getImagePipeline.outputs.imageRecipeArn
        infrastructureConfigurationArn: $steps.getImagePipeline.outputs.infrastructureConfigurationArn
        distributionConfigurationArn: $inputs.distributionConfigurationArn
        status: ENABLED
        clientToken: $inputs.clientToken
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      updatedPipelineArn: $response.body#/imagePipelineArn
  - stepId: startExecution
    description: >-
      Manually trigger the updated pipeline to build a fresh image with the new
      distribution configuration.
    operationId: StartImagePipelineExecution
    requestBody:
      contentType: application/json
      payload:
        imagePipelineArn: $inputs.imagePipelineArn
        clientToken: $inputs.clientToken
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      imageBuildVersionArn: $response.body#/imageBuildVersionArn
  outputs:
    updatedPipelineArn: $steps.updateImagePipeline.outputs.updatedPipelineArn
    imageBuildVersionArn: $steps.startExecution.outputs.imageBuildVersionArn

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/amazon-ec2-image-builder-update-pipeline-and-run-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.