Amazon Proton · Schema

RepositorySyncDefinition

A repository sync definition.

DevOpsInfrastructure as CodePlatform EngineeringServerlessTemplatesSelf-ServiceCI/CD

Properties

Name Type Description
branch object
directory object
parent object
target object
View JSON Schema on GitHub

JSON Schema

amazon-proton-repository-sync-definition-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-proton/refs/heads/main/json-schema/amazon-proton-repository-sync-definition-schema.json",
  "title": "RepositorySyncDefinition",
  "description": "A repository sync definition.",
  "type": "object",
  "properties": {
    "branch": {
      "allOf": [
        {
          "$ref": "#/components/schemas/GitBranchName"
        },
        {
          "description": "The repository branch."
        }
      ]
    },
    "directory": {
      "allOf": [
        {
          "$ref": "#/components/schemas/String"
        },
        {
          "description": "The directory in the repository."
        }
      ]
    },
    "parent": {
      "allOf": [
        {
          "$ref": "#/components/schemas/String"
        },
        {
          "description": "The resource that is synced from."
        }
      ]
    },
    "target": {
      "allOf": [
        {
          "$ref": "#/components/schemas/String"
        },
        {
          "description": "The resource that is synced to."
        }
      ]
    }
  },
  "required": [
    "branch",
    "directory",
    "parent",
    "target"
  ]
}