@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-03-22T19:35:51.772Z")
public interface CodeCommitSourceOptions
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.codepipeline.actions.*; import software.amazon.awscdk.services.iam.*; import software.amazon.awscdk.pipelines.*; Role role; CodeCommitSourceOptions codeCommitSourceOptions = CodeCommitSourceOptions.builder() .codeBuildCloneOutput(false) .eventRole(role) .trigger(CodeCommitTrigger.NONE) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CodeCommitSourceOptions.Builder
A builder for
CodeCommitSourceOptions |
static class |
CodeCommitSourceOptions.Jsii$Proxy
An implementation for
CodeCommitSourceOptions |
Modifier and Type | Method and Description |
---|---|
static CodeCommitSourceOptions.Builder |
builder() |
default java.lang.Boolean |
getCodeBuildCloneOutput()
If this is set, the next CodeBuild job clones the repository (instead of CodePipeline downloading the files).
|
default IRole |
getEventRole()
Role to be used by on commit event rule.
|
default CodeCommitTrigger |
getTrigger()
How should CodePipeline detect source changes for this Action.
|
default java.lang.Boolean getCodeBuildCloneOutput()
This provides access to repository history, and retains symlinks (symlinks would otherwise be removed by CodePipeline).
Note: if this option is true, only CodeBuild jobs can use the output artifact.
Default: false
default IRole getEventRole()
Used only when trigger value is CodeCommitTrigger.EVENTS.
Default: a new role will be created.
default CodeCommitTrigger getTrigger()
Default: CodeCommitTrigger.EVENTS
static CodeCommitSourceOptions.Builder builder()
CodeCommitSourceOptions.Builder
of CodeCommitSourceOptions