@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:54.197Z") @Stability(value=Experimental) public interface GitHubSourceProps extends software.amazon.jsii.JsiiSerializable, SourceProps
GitHubSource and GitHubEnterpriseSource.| Modifier and Type | Interface and Description |
|---|---|
static class |
GitHubSourceProps.Builder
A builder for
GitHubSourceProps |
static class |
GitHubSourceProps.Jsii$Proxy
An implementation for
GitHubSourceProps |
| Modifier and Type | Method and Description |
|---|---|
static GitHubSourceProps.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.
|
String |
getOwner()
(experimental) The GitHub account/user that owns the repo.
|
String |
getRepo()
(experimental) The name of the repo (without the username).
|
default Boolean |
getReportBuildStatus()
(experimental) Whether to send notifications on your build's start and end.
|
default Boolean |
getWebhook()
(experimental) Whether to create a webhook that will trigger a build every time an event happens in the repository.
|
default List<FilterGroup> |
getWebhookFilters()
(experimental) A list of webhook filters that can constraint what events in the repository will trigger a build.
|
default Boolean |
getWebhookTriggersBatchBuild()
(experimental) Trigger a batch build from a webhook instead of a standard one.
|
getIdentifier@Stability(value=Experimental) @NotNull String getOwner()
Example:
// Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826 "awslabs";
@Stability(value=Experimental) @NotNull String getRepo()
Example:
// Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826 "aws-cdk";
@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) @Nullable default Boolean getReportBuildStatus()
Default: true
@Stability(value=Experimental) @Nullable default Boolean getWebhook()
Default: true if any `webhookFilters` were provided, false otherwise
@Stability(value=Experimental) @Nullable default List<FilterGroup> getWebhookFilters()
A build is triggered if any of the provided filter groups match.
Only valid if webhook was not provided as false.
Default: every push and every Pull Request (create or update) triggers a build
@Stability(value=Experimental) @Nullable default Boolean getWebhookTriggersBatchBuild()
Enabling this will enable batch builds on the CodeBuild project.
Default: false
@Stability(value=Experimental) static GitHubSourceProps.Builder builder()
builder in interface SourcePropsGitHubSourceProps.Builder of GitHubSourcePropsCopyright © 2021. All rights reserved.