Amazon CodeStar · Schema

CodeDestination

The repository to be created in AWS CodeStar. Valid values are AWS CodeCommit or GitHub. After AWS CodeStar provisions the new repository, the source code files provided with the project request are placed in the repository.

Developer ToolsDevOpsProject ManagementTeam Collaboration

Properties

Name Type Description
codeCommit object
gitHub object
View JSON Schema on GitHub

JSON Schema

codestar-code-destination-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codestar/refs/heads/main/json-schema/codestar-code-destination-schema.json",
  "title": "CodeDestination",
  "description": "The repository to be created in AWS CodeStar. Valid values are AWS CodeCommit or GitHub. After AWS CodeStar provisions the new repository, the source code files provided with the project request are placed in the repository.",
  "type": "object",
  "properties": {
    "codeCommit": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CodeCommitCodeDestination"
        },
        {
          "description": "Information about the AWS CodeCommit repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation."
        }
      ]
    },
    "gitHub": {
      "allOf": [
        {
          "$ref": "#/components/schemas/GitHubCodeDestination"
        },
        {
          "description": "Information about the GitHub repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation."
        }
      ]
    }
  }
}