Interface SourceConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SourceConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:23:58.693Z")
@Stability(Stable)
public interface SourceConfig
extends software.amazon.jsii.JsiiSerializable
The type returned from
ISource#bind
.
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()))) .scopeConfiguration(ScopeConfigurationProperty.builder() .name("name") .build()) .webhook(false) .build()) .sourceVersion("sourceVersion") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forSourceConfig
static final class
An implementation forSourceConfig
-
Method Summary
Modifier and TypeMethodDescriptionstatic SourceConfig.Builder
builder()
default String
AWS::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
- See Also:
-
builder
- Returns:
- a
SourceConfig.Builder
ofSourceConfig
-