Amazon CodePipeline · JSON Structure

Amazon Codepipeline Source Revision Structure

Information about the version (or revision) of a source artifact that initiated a pipeline execution.

Type: object Properties: 4 Required: 1
AmazonCI/CDContinuous DeliveryDevOpsPipelineRelease Automation

SourceRevision is a JSON Structure definition published by Amazon CodePipeline, describing 4 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

actionName revisionId revisionSummary revisionUrl

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codepipeline/refs/heads/main/json-structure/amazon-codepipeline-source-revision-structure.json",
  "name": "SourceRevision",
  "description": "Information about the version (or revision) of a source artifact that initiated a pipeline execution.",
  "type": "object",
  "properties": {
    "actionName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ActionName"
        },
        {
          "description": "The name of the action that processed the revision to the source artifact."
        }
      ]
    },
    "revisionId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Revision"
        },
        {
          "description": "The system-generated unique ID that identifies the revision number of the artifact."
        }
      ]
    },
    "revisionSummary": {
      "allOf": [
        {
          "$ref": "#/components/schemas/RevisionSummary"
        },
        {
          "description": "Summary information about the most recent revision of the artifact. For GitHub and CodeCommit repositories, the commit message. For Amazon S3 buckets or actions, the user-provided content of a <code>codepipeline-artifact-revision-summary</code> key specified in the object metadata."
        }
      ]
    },
    "revisionUrl": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Url"
        },
        {
          "description": "The commit ID for the artifact revision. For artifacts stored in GitHub or CodeCommit repositories, the commit ID is linked to a commit details page."
        }
      ]
    }
  },
  "required": [
    "actionName"
  ]
}