Amazon CodeBuild · JSON Structure

Amazon Codebuild Import Source Credentials Input Structure

ImportSourceCredentialsInput schema from Amazon CodeBuild

Type: object Properties: 5 Required: 3
AmazonCI/CDBuildContinuous IntegrationDevOpsTesting

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

Properties

username token serverType authType shouldOverwrite

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-codebuild/refs/heads/main/json-structure/amazon-codebuild-import-source-credentials-input-structure.json",
  "name": "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"
  ]
}