Class GitHubEnterpriseSourceProps.Jsii$Proxy
- All Implemented Interfaces:
GitHubEnterpriseSourceProps
,SourceProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
GitHubEnterpriseSourceProps
GitHubEnterpriseSourceProps
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.codebuild.GitHubEnterpriseSourceProps
GitHubEnterpriseSourceProps.Builder, GitHubEnterpriseSourceProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theGitHubEnterpriseSourceProps.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final String
The commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build.final String
This parameter is used for thecontext
parameter in the GitHub commit status.final String
The URL that the build will report back to the source provider.final Number
The depth of history to download.final Boolean
Whether to fetch submodules while cloning git repo.final String
The HTTPS URL of the repository in your GitHub Enterprise installation.final String
The source identifier.final Boolean
Whether to ignore SSL errors when connecting to the repository.final Boolean
Whether to send notifications on your build's start and end.final Boolean
Whether to create a webhook that will trigger a build every time an event happens in the repository.final List<FilterGroup>
A list of webhook filters that can constraint what events in the repository will trigger a build.final Boolean
Trigger a batch build from a webhook instead of a standard one.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theGitHubEnterpriseSourceProps.Builder
.
-
-
Method Details
-
getHttpsCloneUrl
Description copied from interface:GitHubEnterpriseSourceProps
The HTTPS URL of the repository in your GitHub Enterprise installation.- Specified by:
getHttpsCloneUrl
in interfaceGitHubEnterpriseSourceProps
-
getBranchOrRef
Description copied from interface:GitHubEnterpriseSourceProps
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: the default branch's HEAD commit ID is used
Example:
"mybranch";
- Specified by:
getBranchOrRef
in interfaceGitHubEnterpriseSourceProps
-
getBuildStatusContext
Description copied from interface:GitHubEnterpriseSourceProps
This parameter is used for thecontext
parameter in the GitHub commit status.Can use built-in CodeBuild variables, like $AWS_REGION.
Default: "AWS CodeBuild $AWS_REGION ($PROJECT_NAME)"
Example:
"My build #$CODEBUILD_BUILD_NUMBER";
- Specified by:
getBuildStatusContext
in interfaceGitHubEnterpriseSourceProps
- See Also:
-
getBuildStatusUrl
Description copied from interface:GitHubEnterpriseSourceProps
The URL that the build will report back to the source provider.Can use built-in CodeBuild variables, like $AWS_REGION.
Default: - link to the AWS Console for CodeBuild to a particular build execution
Example:
"$CODEBUILD_PUBLIC_BUILD_URL";
- Specified by:
getBuildStatusUrl
in interfaceGitHubEnterpriseSourceProps
- See Also:
-
getCloneDepth
Description copied from interface:GitHubEnterpriseSourceProps
The depth of history to download.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.
- Specified by:
getCloneDepth
in interfaceGitHubEnterpriseSourceProps
-
getFetchSubmodules
Description copied from interface:GitHubEnterpriseSourceProps
Whether to fetch submodules while cloning git repo.Default: false
- Specified by:
getFetchSubmodules
in interfaceGitHubEnterpriseSourceProps
-
getIgnoreSslErrors
Description copied from interface:GitHubEnterpriseSourceProps
Whether to ignore SSL errors when connecting to the repository.Default: false
- Specified by:
getIgnoreSslErrors
in interfaceGitHubEnterpriseSourceProps
-
getReportBuildStatus
Description copied from interface:GitHubEnterpriseSourceProps
Whether to send notifications on your build's start and end.Default: true
- Specified by:
getReportBuildStatus
in interfaceGitHubEnterpriseSourceProps
-
getWebhook
Description copied from interface:GitHubEnterpriseSourceProps
Whether to create a webhook that will trigger a build every time an event happens in the repository.Default: true if any `webhookFilters` were provided, false otherwise
- Specified by:
getWebhook
in interfaceGitHubEnterpriseSourceProps
-
getWebhookFilters
Description copied from interface:GitHubEnterpriseSourceProps
A list of webhook filters that can constraint what events in the repository will trigger a build.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
- Specified by:
getWebhookFilters
in interfaceGitHubEnterpriseSourceProps
-
getWebhookTriggersBatchBuild
Description copied from interface:GitHubEnterpriseSourceProps
Trigger a batch build from a webhook instead of a standard one.Enabling this will enable batch builds on the CodeBuild project.
Default: false
- Specified by:
getWebhookTriggersBatchBuild
in interfaceGitHubEnterpriseSourceProps
-
getIdentifier
Description copied from interface:SourceProps
The source identifier.This property is required on secondary sources.
- Specified by:
getIdentifier
in interfaceSourceProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-