Interface CodeCommitSourceOptions

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:49.791Z") @Stability(Stable) public interface CodeCommitSourceOptions extends
Configuration options for a CodeCommit source.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 Role role;
 CodeCommitSourceOptions codeCommitSourceOptions = CodeCommitSourceOptions.builder()
  • Method Details

    • getCodeBuildCloneOutput

      @Stability(Stable) @Nullable default Boolean getCodeBuildCloneOutput()
      If this is set, the next CodeBuild job clones the repository (instead of CodePipeline downloading the files).

      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

      See Also:
    • getEventRole

      @Stability(Stable) @Nullable default IRole getEventRole()
      Role to be used by on commit event rule.

      Used only when trigger value is CodeCommitTrigger.EVENTS.

      Default: a new role will be created.

    • getTrigger

      @Stability(Stable) @Nullable default CodeCommitTrigger getTrigger()
      How should CodePipeline detect source changes for this Action.

      Default: CodeCommitTrigger.EVENTS

    • builder

      @Stability(Stable) static CodeCommitSourceOptions.Builder builder()
      a CodeCommitSourceOptions.Builder of CodeCommitSourceOptions