AwsCodebuildProjectSourceDefaultsArgs

interface AwsCodebuildProjectSourceDefaultsArgs extends Omit<AwsCodebuildProjectSourceArgs, 'type'> { auth?: Input<ProjectSourceAuth | undefined>; buildspec?: Input<string>; buildspecFilePath?: string; buildStatusConfig?: Input<ProjectSourceBuildStatusConfig | undefined>; gitCloneDepth?: Input<number | undefined>; gitSubmodulesConfig?: Input<ProjectSourceGitSubmodulesConfig | undefined>; insecureSsl?: Input<boolean | undefined>; location?: Input<string | undefined>; reportBuildStatus?: Input<boolean | undefined>; type?: Input<string>; }

Source inputs accepted by AwsCodebuildArgs.

Remarks

type defaults to NO_SOURCE when omitted.

Example

CODE
const source: AwsCodebuildProjectSourceDefaultsArgs = {
  buildspec: `version: 0.2\nphases:\n  build:\n    commands:\n      - echo hello`,
};

Hierarchy

  • Omit<AwsCodebuildProjectSourceArgs, "type">
  • AwsCodebuildProjectSourceDefaultsArgs

Properties

auth: Input<ProjectSourceAuth | undefined>

Inherited from auth

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

buildspec: Input<string>

Inherited from buildspec

Inline buildspec content.

buildspecFilePath: string

Inherited from buildspecFilePath

Local file path to a buildspec file.

buildStatusConfig: Input<ProjectSourceBuildStatusConfig | undefined>

Inherited from buildStatusConfig

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.

gitCloneDepth: Input<number | undefined>

Inherited from gitCloneDepth

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.

gitSubmodulesConfig: Input<ProjectSourceGitSubmodulesConfig | undefined>

Inherited from gitSubmodulesConfig

Configuration block. Detailed below.

insecureSsl: Input<boolean | undefined>

Inherited from insecureSsl

Ignore SSL warnings when connecting to source control.

location: Input<string | undefined>

Inherited from location

Location of the source code from git or s3.

reportBuildStatus: Input<boolean | undefined>

Inherited from reportBuildStatus

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: Input<string>

Source type. Defaults to NO_SOURCE when omitted.