@Stability(value=Stable) @Internal public static final class BitBucketSourceProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements BitBucketSourceProps
BitBucketSourcePropssoftware.amazon.jsii.JsiiObject.InitializationModeBitBucketSourceProps.Builder, BitBucketSourceProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(BitBucketSourceProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
BitBucketSourceProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getBranchOrRef()
The commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build.
|
String |
getBuildStatusName()
This parameter is used for the `name` parameter in the Bitbucket commit status.
|
String |
getBuildStatusUrl()
The URL that the build will report back to the source provider.
|
Number |
getCloneDepth()
The depth of history to download.
|
Boolean |
getFetchSubmodules()
Whether to fetch submodules while cloning git repo.
|
String |
getIdentifier()
The source identifier.
|
String |
getOwner()
The BitBucket account/user that owns the repo.
|
String |
getRepo()
The name of the repo (without the username).
|
Boolean |
getReportBuildStatus()
Whether to send notifications on your build's start and end.
|
Boolean |
getWebhook()
Whether to create a webhook that will trigger a build every time an event happens in the repository.
|
List<FilterGroup> |
getWebhookFilters()
A list of webhook filters that can constraint what events in the repository will trigger a build.
|
Boolean |
getWebhookTriggersBatchBuild()
Trigger a batch build from a webhook instead of a standard one.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(BitBucketSourceProps.Builder builder)
BitBucketSourceProps.Builder.public final String getOwner()
BitBucketSourcePropsExample:
"awslabs";
getOwner in interface BitBucketSourcePropspublic final String getRepo()
BitBucketSourcePropsExample:
"aws-cdk";
getRepo in interface BitBucketSourcePropspublic final String getBranchOrRef()
BitBucketSourcePropsDefault: the default branch's HEAD commit ID is used
Example:
"mybranch";
getBranchOrRef in interface BitBucketSourcePropspublic final String getBuildStatusName()
BitBucketSourcePropsCan use built-in CodeBuild variables, like $AWS_REGION.
Default: "AWS CodeBuild $AWS_REGION ($PROJECT_NAME)"
Example:
"My build #$CODEBUILD_BUILD_NUMBER";
getBuildStatusName in interface BitBucketSourcePropspublic final String getBuildStatusUrl()
BitBucketSourcePropsCan 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";
getBuildStatusUrl in interface BitBucketSourcePropspublic final Number getCloneDepth()
BitBucketSourcePropsMinimum 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.
getCloneDepth in interface BitBucketSourcePropspublic final Boolean getFetchSubmodules()
BitBucketSourcePropsDefault: false
getFetchSubmodules in interface BitBucketSourcePropspublic final Boolean getReportBuildStatus()
BitBucketSourcePropsDefault: true
getReportBuildStatus in interface BitBucketSourcePropspublic final Boolean getWebhook()
BitBucketSourcePropsDefault: true if any `webhookFilters` were provided, false otherwise
getWebhook in interface BitBucketSourcePropspublic final List<FilterGroup> getWebhookFilters()
BitBucketSourceProps
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
getWebhookFilters in interface BitBucketSourcePropspublic final Boolean getWebhookTriggersBatchBuild()
BitBucketSourcePropsEnabling this will enable batch builds on the CodeBuild project.
Default: false
getWebhookTriggersBatchBuild in interface BitBucketSourcePropspublic final String getIdentifier()
SourcePropsThis property is required on secondary sources.
getIdentifier in interface SourceProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.