Class GitHubSourceProps.Jsii$Proxy
- All Implemented Interfaces:
GitHubSourceProps
,SourceProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
GitHubSourceProps
GitHubSourceProps
-
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.GitHubSourceProps
GitHubSourceProps.Builder, GitHubSourceProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(GitHubSourceProps.Builder builder) Constructor that initializes the object based on literal property values passed by theGitHubSourceProps.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 source identifier.final String
getOwner()
The GitHub account/user that owns the repo.final String
getRepo()
The name of the repo (without the username).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 theGitHubSourceProps.Builder
.
-
-
Method Details
-
getOwner
Description copied from interface:GitHubSourceProps
The GitHub account/user that owns the repo.Example:
"awslabs";
- Specified by:
getOwner
in interfaceGitHubSourceProps
-
getRepo
Description copied from interface:GitHubSourceProps
The name of the repo (without the username).Example:
"aws-cdk";
- Specified by:
getRepo
in interfaceGitHubSourceProps
-
getBranchOrRef
Description copied from interface:GitHubSourceProps
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 interfaceGitHubSourceProps
-
getBuildStatusContext
Description copied from interface:GitHubSourceProps
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 interfaceGitHubSourceProps
- See Also:
-
getBuildStatusUrl
Description copied from interface:GitHubSourceProps
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 interfaceGitHubSourceProps
- See Also:
-
getCloneDepth
Description copied from interface:GitHubSourceProps
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 interfaceGitHubSourceProps
-
getFetchSubmodules
Description copied from interface:GitHubSourceProps
Whether to fetch submodules while cloning git repo.Default: false
- Specified by:
getFetchSubmodules
in interfaceGitHubSourceProps
-
getReportBuildStatus
Description copied from interface:GitHubSourceProps
Whether to send notifications on your build's start and end.Default: true
- Specified by:
getReportBuildStatus
in interfaceGitHubSourceProps
-
getWebhook
Description copied from interface:GitHubSourceProps
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 interfaceGitHubSourceProps
-
getWebhookFilters
Description copied from interface:GitHubSourceProps
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 interfaceGitHubSourceProps
-
getWebhookTriggersBatchBuild
Description copied from interface:GitHubSourceProps
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 interfaceGitHubSourceProps
-
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()
-