@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:52.449Z") @Stability(value=Experimental) public interface CodeCommitSourceProps extends software.amazon.jsii.JsiiSerializable, SourceProps
CodeCommitSource.| Modifier and Type | Interface and Description |
|---|---|
static class |
CodeCommitSourceProps.Builder
A builder for
CodeCommitSourceProps |
static class |
CodeCommitSourceProps.Jsii$Proxy
An implementation for
CodeCommitSourceProps |
| Modifier and Type | Method and Description |
|---|---|
static CodeCommitSourceProps.Builder |
builder() |
default String |
getBranchOrRef()
(experimental) The commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build.
|
default Number |
getCloneDepth()
(experimental) The depth of history to download.
|
default Boolean |
getFetchSubmodules()
(experimental) Whether to fetch submodules while cloning git repo.
|
IRepository |
getRepository() |
getIdentifier@Stability(value=Experimental) @NotNull IRepository getRepository()
@Stability(value=Experimental) @Nullable default String getBranchOrRef()
Default: the default branch's HEAD commit ID is used
Example:
// Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826 "mybranch";
@Stability(value=Experimental) @Nullable default Number getCloneDepth()
Minimum value is 0. If this value is 0, greater than 25, or not provided, then the full history is downloaded with each build of the project.
@Stability(value=Experimental) @Nullable default Boolean getFetchSubmodules()
Default: false
@Stability(value=Experimental) static CodeCommitSourceProps.Builder builder()
builder in interface SourcePropsCodeCommitSourceProps.Builder of CodeCommitSourcePropsCopyright © 2021. All rights reserved.