Amazon CodeBuild · Schema

SourceAuth

Information about the authorization settings for CodeBuild to access the source code to be built.

This information is for the CodeBuild console's use only. Your code should not get or set this information directly.

AmazonCI/CDBuildContinuous IntegrationDevOpsTesting

Properties

Name Type Description
type object
resource object
View JSON Schema on GitHub

JSON Schema

amazon-codebuild-source-auth-schema.json Raw ↑
{
  "$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-source-auth-schema.json",
  "title": "SourceAuth",
  "description": "<p>Information about the authorization settings for CodeBuild to access the source code to be built.</p> <p>This information is for the CodeBuild console's use only. Your code should not get or set this information directly.</p>",
  "type": "object",
  "properties": {
    "type": {
      "allOf": [
        {
          "$ref": "#/components/schemas/SourceAuthType"
        },
        {
          "description": "<note> <p> This data type is deprecated and is no longer accurate or used. </p> </note> <p>The authorization type to use. The only valid value is <code>OAUTH</code>, which represents the OAuth authorization type.</p>"
        }
      ]
    },
    "resource": {
      "allOf": [
        {
          "$ref": "#/components/schemas/String"
        },
        {
          "description": "The resource value that applies to the specified authorization type."
        }
      ]
    }
  },
  "required": [
    "type"
  ]
}