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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.codebuild.GitHubSourceProps
GitHubSourceProps.Builder, GitHubSourceProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(GitHubSourceProps.Builder builder) Constructor that initializes the object based on literal property values passed by theGitHubSourceProps.Builder.protectedJsii$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.JsonNodefinal booleanfinal StringThe commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build.final StringThis parameter is used for thecontextparameter in the GitHub commit status.final StringThe URL that the build will report back to the source provider.final NumberThe depth of history to download.final BooleanWhether to fetch submodules while cloning git repo.final StringThe source identifier.final StringgetOwner()The GitHub account/user that owns the repo.final StringgetRepo()The name of the repo (without the username).final BooleanWhether to send notifications on your build's start and end.final BooleanWhether 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 BooleanTrigger a batch build from a webhook instead of a standard one.final inthashCode()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:GitHubSourcePropsThe GitHub account/user that owns the repo.Example:
"awslabs";
- Specified by:
getOwnerin interfaceGitHubSourceProps
-
getRepo
Description copied from interface:GitHubSourcePropsThe name of the repo (without the username).Example:
"aws-cdk";
- Specified by:
getRepoin interfaceGitHubSourceProps
-
getBranchOrRef
Description copied from interface:GitHubSourcePropsThe 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:
getBranchOrRefin interfaceGitHubSourceProps
-
getBuildStatusContext
Description copied from interface:GitHubSourcePropsThis parameter is used for thecontextparameter 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:
getBuildStatusContextin interfaceGitHubSourceProps- See Also:
-
getBuildStatusUrl
Description copied from interface:GitHubSourcePropsThe 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:
getBuildStatusUrlin interfaceGitHubSourceProps- See Also:
-
getCloneDepth
Description copied from interface:GitHubSourcePropsThe 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:
getCloneDepthin interfaceGitHubSourceProps
-
getFetchSubmodules
Description copied from interface:GitHubSourcePropsWhether to fetch submodules while cloning git repo.Default: false
- Specified by:
getFetchSubmodulesin interfaceGitHubSourceProps
-
getReportBuildStatus
Description copied from interface:GitHubSourcePropsWhether to send notifications on your build's start and end.Default: true
- Specified by:
getReportBuildStatusin interfaceGitHubSourceProps
-
getWebhook
Description copied from interface:GitHubSourcePropsWhether 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:
getWebhookin interfaceGitHubSourceProps
-
getWebhookFilters
Description copied from interface:GitHubSourcePropsA 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
webhookwas not provided as false.Default: every push and every Pull Request (create or update) triggers a build
- Specified by:
getWebhookFiltersin interfaceGitHubSourceProps
-
getWebhookTriggersBatchBuild
Description copied from interface:GitHubSourcePropsTrigger 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:
getWebhookTriggersBatchBuildin interfaceGitHubSourceProps
-
getIdentifier
Description copied from interface:SourcePropsThe source identifier.This property is required on secondary sources.
- Specified by:
getIdentifierin interfaceSourceProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-