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

Configuration block with the authorization settings for AWS CodeBuild to access the source code to be built. This information is for the AWS CodeBuild console's use only. Use the aws.codebuild.SourceCredential resource instead. Auth blocks are documented 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.

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, 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 only valid when the type is BITBUCKET or GITHUB.

Link copied to clipboard

Authorization type to use. The only valid value is OAUTH. This data type is deprecated and is no longer accurate or used. Use the aws.codebuild.SourceCredential resource instead.