ProjectSource

data class ProjectSource(val auth: ProjectSourceAuth? = null, val buildStatusConfig: ProjectSourceBuildStatusConfig? = null, val buildspec: String? = null, val gitCloneDepth: Int? = null, val gitSubmodulesConfig: ProjectSourceGitSubmodulesConfig? = null, val insecureSsl: Boolean? = null, val location: String? = null, val reportBuildStatus: Boolean? = null, val type: String)

Constructors

Link copied to clipboard
constructor(auth: ProjectSourceAuth? = null, buildStatusConfig: ProjectSourceBuildStatusConfig? = null, buildspec: String? = null, gitCloneDepth: Int? = null, gitSubmodulesConfig: ProjectSourceGitSubmodulesConfig? = null, insecureSsl: Boolean? = null, location: String? = null, reportBuildStatus: Boolean? = null, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val auth: ProjectSourceAuth? = null

Information about the strategy CodeBuild should use when authenticating with the source code host. Detailed below.

Link copied to clipboard
val buildspec: String? = null

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.

Link copied to clipboard

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. build_status_config blocks are documented below.

Link copied to clipboard
val gitCloneDepth: Int? = null

Truncate git history to this many commits. Use 0 for a Full checkout which you need to run commands like git branch --show-current. See AWS CodePipeline User Guide: Tutorial: Use full clone with a GitHub pipeline source for details.

Link copied to clipboard

Configuration block. Detailed below.

Link copied to clipboard
val insecureSsl: Boolean? = null

Ignore SSL warnings when connecting to source control.

Link copied to clipboard
val location: String? = null

Location of the source code from git or s3.

Link copied to clipboard

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.

Link copied to clipboard

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.