Package com.pulumi.aws.codebuild.outputs
Class ProjectSecondarySource
- java.lang.Object
-
- com.pulumi.aws.codebuild.outputs.ProjectSecondarySource
-
public final class ProjectSecondarySource extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProjectSecondarySource.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<ProjectSecondarySourceAuth>auth()static ProjectSecondarySource.Builderbuilder()static ProjectSecondarySource.Builderbuilder(ProjectSecondarySource defaults)java.util.Optional<java.lang.String>buildspec()java.util.Optional<ProjectSecondarySourceBuildStatusConfig>buildStatusConfig()java.util.Optional<java.lang.Integer>gitCloneDepth()java.util.Optional<ProjectSecondarySourceGitSubmodulesConfig>gitSubmodulesConfig()java.util.Optional<java.lang.Boolean>insecureSsl()java.util.Optional<java.lang.String>location()java.util.Optional<java.lang.Boolean>reportBuildStatus()java.lang.StringsourceIdentifier()java.lang.Stringtype()
-
-
-
Method Detail
-
auth
public java.util.Optional<ProjectSecondarySourceAuth> auth()
- Returns:
- Information about the strategy CodeBuild should use when authenticating with the source code host. Detailed below.
-
buildStatusConfig
public java.util.Optional<ProjectSecondarySourceBuildStatusConfig> buildStatusConfig()
- Returns:
- 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.
-
buildspec
public java.util.Optional<java.lang.String> buildspec()
- Returns:
- 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.
-
gitCloneDepth
public java.util.Optional<java.lang.Integer> gitCloneDepth()
- Returns:
- 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](https://docs.aws.amazon.com/codepipeline/latest/userguide/tutorials-github-gitclone.html) for details.
-
gitSubmodulesConfig
public java.util.Optional<ProjectSecondarySourceGitSubmodulesConfig> gitSubmodulesConfig()
- Returns:
- Configuration block. Detailed below.
-
insecureSsl
public java.util.Optional<java.lang.Boolean> insecureSsl()
- Returns:
- Ignore SSL warnings when connecting to source control.
-
location
public java.util.Optional<java.lang.String> location()
- Returns:
- Location of the source code from git or s3.
-
reportBuildStatus
public java.util.Optional<java.lang.Boolean> reportBuildStatus()
- Returns:
- 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.
-
sourceIdentifier
public java.lang.String sourceIdentifier()
- Returns:
- An identifier for this project source. The identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length.
-
type
public java.lang.String type()
- Returns:
- 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`.
-
builder
public static ProjectSecondarySource.Builder builder()
-
builder
public static ProjectSecondarySource.Builder builder(ProjectSecondarySource defaults)
-
-