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.
GitHubCodeDestination is a JSON Structure definition published by Amazon CodeStar, describing 7 properties, of which 6 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codestar/refs/heads/main/json-structure/codestar-git-hub-code-destination-structure.json",
"name": "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.",
"type": "object",
"properties": {
"name": {
"allOf": [
{
"$ref": "#/components/schemas/RepositoryName"
},
{
"description": "Name of the GitHub repository to be created in AWS CodeStar."
}
]
},
"description": {
"allOf": [
{
"$ref": "#/components/schemas/RepositoryDescription"
},
{
"description": "Description for the GitHub repository to be created in AWS CodeStar. This description displays in GitHub after the repository is created."
}
]
},
"type": {
"allOf": [
{
"$ref": "#/components/schemas/RepositoryType"
},
{
"description": "The type of GitHub repository to be created in AWS CodeStar. Valid values are User or Organization."
}
]
},
"owner": {
"allOf": [
{
"$ref": "#/components/schemas/RepositoryOwner"
},
{
"description": "The GitHub username for the owner of the GitHub repository to be created in AWS CodeStar. If this repository should be owned by a GitHub organization, provide its name."
}
]
},
"privateRepository": {
"allOf": [
{
"$ref": "#/components/schemas/RepositoryIsPrivate"
},
{
"description": "Whether the GitHub repository is to be a private repository."
}
]
},
"issuesEnabled": {
"allOf": [
{
"$ref": "#/components/schemas/RepositoryEnableIssues"
},
{
"description": "Whether to enable issues for the GitHub repository."
}
]
},
"token": {
"allOf": [
{
"$ref": "#/components/schemas/GitHubPersonalToken"
},
{
"description": "The GitHub user's personal access token for the GitHub repository."
}
]
}
},
"required": [
"name",
"type",
"owner",
"privateRepository",
"issuesEnabled",
"token"
]
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.