capabilities.work

Distribute Image

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

Recipe · 3 steps

Distribute Image

Create a distribution configuration, build an image with it, and poll to a terminal state.

  1. Create a distribution configuration that defines and configures the outputs of the build.
  2. Build an image that references the recipe, infrastructure configuration, and the newly created distribution configuration.
  3. Poll the image build version, looping while the build and distribution are still in progress.
What you'll need to have ready
  • distributionName: The name of the distribution configuration to create.
  • distributions: The list of Distribution objects defining target Regions and outputs.
  • imageRecipeArn: The ARN of the image recipe to build.
  • infrastructureConfigurationArn: The ARN of the infrastructure configuration used to build and test the image.
  • clientToken: An idempotency token reused across the create requests.
For your developer

Arazzo workflow amazon-ec2-image-builder:distribute-image, 3 operations: CreateDistributionConfiguration → CreateImage → GetImage. Specs on APIs.io.