@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)",
date="2023-01-31T18:36:55.476Z")
public interface SourceConfig
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();
Modifier and Type | Interface and Description |
---|---|
static class |
SourceConfig.Builder
A builder for
SourceConfig |
static class |
SourceConfig.Jsii$Proxy
An implementation for
SourceConfig |
Modifier and Type | Method and Description |
---|---|
static SourceConfig.Builder |
builder() |
default CfnProject.ProjectTriggersProperty |
getBuildTriggers() |
CfnProject.SourceProperty |
getSourceProperty() |
default java.lang.String |
getSourceVersion()
`AWS::CodeBuild::Project.SourceVersion`.
|
CfnProject.SourceProperty getSourceProperty()
default CfnProject.ProjectTriggersProperty getBuildTriggers()
default java.lang.String getSourceVersion()
Default: the latest version
static SourceConfig.Builder builder()
SourceConfig.Builder
of SourceConfig