@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:53.618Z") @Stability(value=Experimental) public interface GitHubEnterpriseSourceProps extends software.amazon.jsii.JsiiSerializable, SourceProps
GitHubEnterpriseSource.| Modifier and Type | Interface and Description |
|---|---|
static class |
GitHubEnterpriseSourceProps.Builder
A builder for
GitHubEnterpriseSourceProps |
static class |
GitHubEnterpriseSourceProps.Jsii$Proxy
An implementation for
GitHubEnterpriseSourceProps |
| Modifier and Type | Method and Description |
|---|---|
static GitHubEnterpriseSourceProps.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 |
getHttpsCloneUrl()
(experimental) The HTTPS URL of the repository in your GitHub Enterprise installation.
|
default Boolean |
getIgnoreSslErrors()
(experimental) Whether to ignore SSL errors when connecting to the repository.
|
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 getHttpsCloneUrl()
@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 getIgnoreSslErrors()
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 GitHubEnterpriseSourceProps.Builder builder()
builder in interface SourcePropsGitHubEnterpriseSourceProps.Builder of GitHubEnterpriseSourcePropsCopyright © 2021. All rights reserved.