Amazon Proton · JSON Structure

Amazon Proton Resource Sync Attempt Structure

Detail data for a resource sync attempt activated by a push to a repository.

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

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

Properties

events initialRevision startedAt status target targetRevision

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-resource-sync-attempt-structure.json",
  "name": "ResourceSyncAttempt",
  "description": "Detail data for a resource sync attempt activated by a push to a repository.",
  "type": "object",
  "properties": {
    "events": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ResourceSyncEvents"
        },
        {
          "description": "An array of events with detail data."
        }
      ]
    },
    "initialRevision": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Revision"
        },
        {
          "description": "Detail data for the initial repository commit, path and push."
        }
      ]
    },
    "startedAt": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Timestamp"
        },
        {
          "description": "The time when the sync attempt started."
        }
      ]
    },
    "status": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ResourceSyncStatus"
        },
        {
          "description": "The status of the sync attempt."
        }
      ]
    },
    "target": {
      "allOf": [
        {
          "$ref": "#/components/schemas/String"
        },
        {
          "description": "The resource that is synced to."
        }
      ]
    },
    "targetRevision": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Revision"
        },
        {
          "description": "Detail data for the target revision."
        }
      ]
    }
  },
  "required": [
    "events",
    "initialRevision",
    "startedAt",
    "status",
    "target",
    "targetRevision"
  ]
}