Interface CfnProject.SourceProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnProject.SourceProperty.Jsii$Proxy
Enclosing class:
CfnProject

@Stability(Stable) public static interface CfnProject.SourceProperty extends software.amazon.jsii.JsiiSerializable
Source is a property of the AWS::CodeBuild::Project resource that specifies the source code settings for the project, such as the source code's repository type and location.

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.*;
 SourceProperty 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();
 

See Also: