Amazon Proton · JSON Structure

Amazon Proton Repository Sync Definition Structure

A repository sync definition.

Type: object Properties: 4 Required: 4
DevOpsInfrastructure as CodePlatform EngineeringServerlessTemplatesSelf-ServiceCI/CD

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

Properties

branch directory parent target

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-proton/refs/heads/main/json-structure/amazon-proton-repository-sync-definition-structure.json",
  "name": "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"
  ]
}