Location and destination information about the source code files provided with the project request. The source code is uploaded to the new project source repository after project creation.
Code is a JSON Structure definition published by Amazon CodeStar, describing 2 properties, of which 2 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-code-structure.json",
"name": "Code",
"description": "Location and destination information about the source code files provided with the project request. The source code is uploaded to the new project source repository after project creation.",
"type": "object",
"properties": {
"source": {
"allOf": [
{
"$ref": "#/components/schemas/CodeSource"
},
{
"description": "The location where the source code files provided with the project request are stored. AWS CodeStar retrieves the files during project creation."
}
]
},
"destination": {
"allOf": [
{
"$ref": "#/components/schemas/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."
}
]
}
},
"required": [
"source",
"destination"
]
}
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.