ProjectSecondarySource class

Constructors

ProjectSecondarySource({Input<ProjectSecondarySourceAuth?>? auth, Input<ProjectSecondarySourceBuildStatusConfig?>? buildStatusConfig, Input<String?>? buildspec, Input<int?>? gitCloneDepth, Input<ProjectSecondarySourceGitSubmodulesConfig?>? gitSubmodulesConfig, Input<bool?>? insecureSsl, Input<String?>? location, Input<bool?>? reportBuildStatus, required Input<String> sourceIdentifier, required Input<String> type})
Creates a new ProjectSecondarySource. 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 The build spec declaration to use for this build project's related builds. This must be set 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. sourceIdentifier An identifier for this project source. The identifier can only contain alphanumeric type Type of repository that contains the source code to be built. Valid values: BITBUCKET,
const
ProjectSecondarySource.fromMap(Map<String, dynamic> map)
factory

Properties

auth → Input<ProjectSecondarySourceAuth?>?
Information about the strategy CodeBuild should use when authenticating with the source code host. Detailed below.
final
buildspec → Input<String?>?
The build spec declaration to use for this build project's related builds. This must be set when type is NO_SOURCE. It can either be a path to a file residing in the repository to be built or a local file path leveraging the file() built-in.
final
buildStatusConfig → Input<ProjectSecondarySourceBuildStatusConfig?>?
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.
final
gitCloneDepth → Input<int?>?
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.
final
gitSubmodulesConfig → Input<ProjectSecondarySourceGitSubmodulesConfig?>?
Configuration block. Detailed below.
final
hashCode int
The hash code for this object.
no setterinherited
insecureSsl → Input<bool?>?
Ignore SSL warnings when connecting to source control.
final
location → Input<String?>?
Location of the source code from git or s3.
final
reportBuildStatus → Input<bool?>?
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.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceIdentifier → Input<String>
An identifier for this project source. The identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length.
final
type → Input<String>
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.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited