Amazon Proton · JSON Structure

Amazon Proton Repository Structure

Detailed data of a linked repository—a repository that has been registered with Proton.

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

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

Properties

arn connectionArn encryptionKey name provider

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-structure.json",
  "name": "Repository",
  "description": "Detailed data of a linked repository\u2014a repository that has been registered with Proton.",
  "type": "object",
  "properties": {
    "arn": {
      "allOf": [
        {
          "$ref": "#/components/schemas/RepositoryArn"
        },
        {
          "description": "The Amazon Resource Name (ARN) of the linked repository."
        }
      ]
    },
    "connectionArn": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Arn"
        },
        {
          "description": "The Amazon Resource Name (ARN) of your AWS CodeStar connection that connects Proton to your repository provider account."
        }
      ]
    },
    "encryptionKey": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Arn"
        },
        {
          "description": "Your customer Amazon Web Services KMS encryption key."
        }
      ]
    },
    "name": {
      "allOf": [
        {
          "$ref": "#/components/schemas/RepositoryName"
        },
        {
          "description": "The repository name."
        }
      ]
    },
    "provider": {
      "allOf": [
        {
          "$ref": "#/components/schemas/RepositoryProvider"
        },
        {
          "description": "The repository provider."
        }
      ]
    }
  },
  "required": [
    "arn",
    "connectionArn",
    "name",
    "provider"
  ]
}