Creates a new ProjectSource.
auth Information about the strategy CodeBuild should use when authenticating with the source code host.
buildStatusConfig Configuration block that contains information that defines how the build project
buildspec Build specification to use for this build project's related builds. This must be set when
gitCloneDepth Truncate git history to this many commits. Use 0 for a Full checkout which you need
gitSubmodulesConfig Configuration block. Detailed below.
insecureSsl Ignore SSL warnings when connecting to source control.
location Location of the source code from git or s3.
reportBuildStatus Whether to report the status of a build's start and finish to your source provider.
type Type of repository that contains the source code to be built. Valid values: BITBUCKET,
Build specification to use for this build project's related builds. This must be set when
type is NO_SOURCE. Also, if a non-default buildspec file name or file path aside from the root is used, it must be
specified.
Configuration block that contains information that defines how the build project
reports the build status to the source provider. This option is only used when the source provider is GitHub, GitHub
Enterprise, GitLab, GitLab Self Managed, or Bitbucket. buildStatusConfig blocks are documented below.
Whether to report the status of a build's start and finish to your source provider.
This option is valid only when your source provider is GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or
Bitbucket.
Type of repository that contains the source code to be built. Valid values: BITBUCKET,
CODECOMMIT, CODEPIPELINE, GITHUB, GITHUB_ENTERPRISE, GITLAB, GITLAB_SELF_MANAGED, NO_SOURCE, S3.