Amazon CodeBuild · JSON Structure

Amazon Codebuild Source Credentials Info Structure

Information about the credentials for a GitHub, GitHub Enterprise, or Bitbucket repository.

Type: object Properties: 3
AmazonCI/CDBuildContinuous IntegrationDevOpsTesting

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

Properties

arn serverType authType

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-source-credentials-info-structure.json",
  "name": "SourceCredentialsInfo",
  "description": " Information about the credentials for a GitHub, GitHub Enterprise, or Bitbucket repository. ",
  "type": "object",
  "properties": {
    "arn": {
      "allOf": [
        {
          "$ref": "#/components/schemas/NonEmptyString"
        },
        {
          "description": " The Amazon Resource Name (ARN) of the token. "
        }
      ]
    },
    "serverType": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ServerType"
        },
        {
          "description": " The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, or BITBUCKET. "
        }
      ]
    },
    "authType": {
      "allOf": [
        {
          "$ref": "#/components/schemas/AuthType"
        },
        {
          "description": " The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, or PERSONAL_ACCESS_TOKEN. "
        }
      ]
    }
  }
}