Amazon ECR · Arazzo Workflow

Amazon ECR Provision Repository

Version 1.0.0

Create a container repository, confirm it exists, and inspect its current images.

1 workflow 3 source APIs 1 provider
View Spec View on GitHub Amazon Web ServicesContainer ImagesContainer RegistryContainersDockerECROCIArazzoWorkflows

Provider

amazon-ecr

Workflows

provision-repository
Create an ECR repository and verify it by describing and listing its images.
Creates a repository in the registry, reads it back through DescribeRepositories to confirm registration, and lists the image IDs the repository currently contains.
3 steps inputs: imageTagMutability, repositoryName, scanOnPush outputs: imageIds, repositories, repository
1
createRepository
Create the repository in the registry with the requested tag mutability and image scanning configuration.
2
confirmRepository
Read the repository back through DescribeRepositories to confirm it is registered before listing its images.
3
listRepositoryImages
List the image IDs the newly created repository currently contains.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Amazon ECR Provision Repository
  summary: Create a container repository, confirm it exists, and inspect its current images.
  description: >-
    Provisions a new Amazon ECR container repository and then verifies it by
    describing the registry and listing the images it currently holds. The flow
    creates the repository with the supplied tag mutability and scan-on-push
    configuration, reads the repository back through DescribeRepositories to
    confirm it is registered, and finally lists any image IDs already present.
    Every step spells out its AWS JSON request inline, including the documented
    X-Amz-Target header, so the flow can be read and executed without opening
    the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: amazonEcrAmazonElasticContainerRegistryEcrApiApi
  url: ../openapi/amazon-ecr-amazon-ecr-amazon-elastic-container-registry-ecr-api-api-openapi.yml
  type: openapi
- name: describerepositoriesApi
  url: ../openapi/amazon-ecr-describerepositories-api-openapi.yml
  type: openapi
- name: listimagesApi
  url: ../openapi/amazon-ecr-listimages-api-openapi.yml
  type: openapi
workflows:
- workflowId: provision-repository
  summary: Create an ECR repository and verify it by describing and listing its images.
  description: >-
    Creates a repository in the registry, reads it back through
    DescribeRepositories to confirm registration, and lists the image IDs the
    repository currently contains.
  inputs:
    type: object
    required:
    - repositoryName
    properties:
      repositoryName:
        type: string
        description: The name to use for the new repository.
      imageTagMutability:
        type: string
        enum:
        - MUTABLE
        - IMMUTABLE
        description: The tag mutability setting for the repository.
      scanOnPush:
        type: boolean
        description: Whether images should be scanned automatically when pushed.
  steps:
  - stepId: createRepository
    description: >-
      Create the repository in the registry with the requested tag mutability
      and image scanning configuration.
    operationId: createRepository
    parameters:
    - name: X-Amz-Target
      in: header
      value: AmazonEC2ContainerRegistry_V20150921.CreateRepository
    requestBody:
      contentType: application/x-amz-json-1.1
      payload:
        repositoryName: $inputs.repositoryName
        imageTagMutability: $inputs.imageTagMutability
        imageScanningConfiguration:
          scanOnPush: $inputs.scanOnPush
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      repository: $response.body#/repository
  - stepId: confirmRepository
    description: >-
      Read the repository back through DescribeRepositories to confirm it is
      registered before listing its images.
    operationId: describeRepositories
    parameters:
    - name: X-Amz-Target
      in: header
      value: AmazonEC2ContainerRegistry_V20150921.DescribeRepositories
    requestBody:
      contentType: application/x-amz-json-1.1
      payload:
        repositoryNames:
        - $inputs.repositoryName
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      repositories: $response.body#/repositories
  - stepId: listRepositoryImages
    description: >-
      List the image IDs the newly created repository currently contains.
    operationId: listImages
    parameters:
    - name: X-Amz-Target
      in: header
      value: AmazonEC2ContainerRegistry_V20150921.ListImages
    requestBody:
      contentType: application/x-amz-json-1.1
      payload:
        repositoryName: $inputs.repositoryName
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      imageIds: $response.body#/imageIds
  outputs:
    repository: $steps.createRepository.outputs.repository
    repositories: $steps.confirmRepository.outputs.repositories
    imageIds: $steps.listRepositoryImages.outputs.imageIds

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-ecr-provision-repository-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.