Interface SourceConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SourceConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:41.850Z")
@Stability(Stable)
public interface SourceConfig
extends software.amazon.jsii.JsiiSerializable
The type returned from
ISource.bind(software.amazon.awscdk.core.Construct, software.amazon.awscdk.services.codebuild.IProject).
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codebuild.*;
SourceConfig sourceConfig = SourceConfig.builder()
.sourceProperty(SourceProperty.builder()
.type("type")
// the properties below are optional
.auth(SourceAuthProperty.builder()
.type("type")
// the properties below are optional
.resource("resource")
.build())
.buildSpec("buildSpec")
.buildStatusConfig(BuildStatusConfigProperty.builder()
.context("context")
.targetUrl("targetUrl")
.build())
.gitCloneDepth(123)
.gitSubmodulesConfig(GitSubmodulesConfigProperty.builder()
.fetchSubmodules(false)
.build())
.insecureSsl(false)
.location("location")
.reportBuildStatus(false)
.sourceIdentifier("sourceIdentifier")
.build())
// the properties below are optional
.buildTriggers(ProjectTriggersProperty.builder()
.buildType("buildType")
.filterGroups(List.of(List.of(WebhookFilterProperty.builder()
.pattern("pattern")
.type("type")
// the properties below are optional
.excludeMatchedPattern(false)
.build())))
.webhook(false)
.build())
.sourceVersion("sourceVersion")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forSourceConfigstatic final classAn implementation forSourceConfig -
Method Summary
Modifier and TypeMethodDescriptionstatic SourceConfig.Builderbuilder()default StringAWS::CodeBuild::Project.SourceVersion.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSourceProperty
-
getBuildTriggers
-
getSourceVersion
AWS::CodeBuild::Project.SourceVersion.Default: the latest version
-
builder
- Returns:
- a
SourceConfig.BuilderofSourceConfig
-