PipelineDeclaration

Represents the structure of actions and stages to be performed in the pipeline.

AmazonCI/CDContinuous DeliveryDevOpsPipelineRelease Automation

Properties

Name Type Description
name object
roleArn object
artifactStore object
artifactStores object
stages object
version object
View JSON Schema on GitHub

JSON Schema

amazon-codepipeline-pipeline-declaration-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codepipeline/refs/heads/main/json-schema/amazon-codepipeline-pipeline-declaration-schema.json",
  "title": "PipelineDeclaration",
  "description": "Represents the structure of actions and stages to be performed in the pipeline.",
  "type": "object",
  "properties": {
    "name": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PipelineName"
        },
        {
          "description": "The name of the pipeline."
        }
      ]
    },
    "roleArn": {
      "allOf": [
        {
          "$ref": "#/components/schemas/RoleArn"
        },
        {
          "description": "The Amazon Resource Name (ARN) for CodePipeline to use to either perform actions with no <code>actionRoleArn</code>, or to use to assume roles for actions with an <code>actionRoleArn</code>."
        }
      ]
    },
    "artifactStore": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ArtifactStore"
        },
        {
          "description": "<p>Represents information about the S3 bucket where artifacts are stored for the pipeline.</p> <note> <p>You must include either <code>artifactStore</code> or <code>artifactStores</code> in your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must use <code>artifactStores</code>.</p> </note>"
        }
      ]
    },
    "artifactStores": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ArtifactStoreMap"
        },
        {
          "description": "<p>A mapping of <code>artifactStore</code> objects and their corresponding Amazon Web Services Regions. There must be an artifact store for the pipeline Region and for each cross-region action in the pipeline.</p> <note> <p>You must include either <code>artifactStore</code> or <code>artifactStores</code> in your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must use <code>artifactStores</code>.</p> </note>"
        }
      ]
    },
    "stages": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PipelineStageDeclarationList"
        },
        {
          "description": "The stage in which to perform the action."
        }
      ]
    },
    "version": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PipelineVersion"
        },
        {
          "description": "The version number of the pipeline. A new pipeline always has a version number of 1. This number is incremented when a pipeline is updated."
        }
      ]
    }
  },
  "required": [
    "name",
    "roleArn",
    "stages"
  ]
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-codepipeline-pipeline-declaration"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

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

Get an API key

Free tier, no email required.

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