Amazon CodeBuild · Schema
ImportSourceCredentialsInput
ImportSourceCredentialsInput schema from Amazon CodeBuild
AmazonCI/CDBuildContinuous IntegrationDevOpsTesting
Properties
| Name | Type | Description |
|---|---|---|
| username | object | |
| token | object | |
| serverType | object | |
| authType | object | |
| shouldOverwrite | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codebuild/refs/heads/main/json-schema/amazon-codebuild-import-source-credentials-input-schema.json",
"title": "ImportSourceCredentialsInput",
"description": "ImportSourceCredentialsInput schema from Amazon CodeBuild",
"type": "object",
"properties": {
"username": {
"allOf": [
{
"$ref": "#/components/schemas/NonEmptyString"
},
{
"description": " The Bitbucket username when the <code>authType</code> is BASIC_AUTH. This parameter is not valid for other types of source providers or connections. "
}
]
},
"token": {
"allOf": [
{
"$ref": "#/components/schemas/SensitiveNonEmptyString"
},
{
"description": " For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is the app password. "
}
]
},
"serverType": {
"allOf": [
{
"$ref": "#/components/schemas/ServerType"
},
{
"description": " The source provider used for this project. "
}
]
},
"authType": {
"allOf": [
{
"$ref": "#/components/schemas/AuthType"
},
{
"description": " The type of authentication used to connect to a GitHub, GitHub Enterprise, or Bitbucket repository. An OAUTH connection is not supported by the API and must be created using the CodeBuild console. "
}
]
},
"shouldOverwrite": {
"allOf": [
{
"$ref": "#/components/schemas/WrapperBoolean"
},
{
"description": " Set to <code>false</code> to prevent overwriting the repository source credentials. Set to <code>true</code> to overwrite the repository source credentials. The default value is <code>true</code>. "
}
]
}
},
"required": [
"token",
"serverType",
"authType"
]
}