@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.930Z") @Stability(value=Stable) public interface CodeCommitSourceOptions extends software.amazon.jsii.JsiiSerializable
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 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.
|
@Stability(value=Stable) @Nullable default 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
@Stability(value=Stable) @Nullable default IRole getEventRole()
Used only when trigger value is CodeCommitTrigger.EVENTS.
Default: a new role will be created.
@Stability(value=Stable) @Nullable default CodeCommitTrigger getTrigger()
Default: CodeCommitTrigger.EVENTS
@Stability(value=Stable) static CodeCommitSourceOptions.Builder builder()
CodeCommitSourceOptions.Builder of CodeCommitSourceOptionsCopyright © 2022. All rights reserved.