Amazon Proton · JSON Structure

Amazon Proton Create Repository Input Structure

CreateRepositoryInput schema from Amazon Proton API

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

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

Properties

connectionArn encryptionKey name provider tags

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-create-repository-input-structure.json",
  "name": "CreateRepositoryInput",
  "description": "CreateRepositoryInput schema from Amazon Proton API",
  "type": "object",
  "properties": {
    "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. For more information, see <a href=\"https://docs.aws.amazon.com/proton/latest/userguide/setting-up-for-service.html\">Setting up for Proton</a> in the <i>Proton User Guide</i>."
        }
      ]
    },
    "encryptionKey": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Arn"
        },
        {
          "description": "The ARN of your customer Amazon Web Services Key Management Service (Amazon Web Services KMS) key."
        }
      ]
    },
    "name": {
      "allOf": [
        {
          "$ref": "#/components/schemas/RepositoryName"
        },
        {
          "description": "The repository name (for example, <code>myrepos/myrepo</code>)."
        }
      ]
    },
    "provider": {
      "allOf": [
        {
          "$ref": "#/components/schemas/RepositoryProvider"
        },
        {
          "description": "The repository provider."
        }
      ]
    },
    "tags": {
      "allOf": [
        {
          "$ref": "#/components/schemas/TagList"
        },
        {
          "description": "<p>An optional list of metadata items that you can associate with the Proton repository. A tag is a key-value pair.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/proton/latest/userguide/resources.html\">Proton resources and tagging</a> in the <i>Proton User Guide</i>.</p>"
        }
      ]
    }
  },
  "required": [
    "connectionArn",
    "name",
    "provider"
  ]
}