Interface CodeRepositoryProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CodeRepositoryProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:40.042Z")
@Stability(Experimental)
public interface CodeRepositoryProps
extends software.amazon.jsii.JsiiSerializable
(experimental) Properties of the CodeRepository.
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.apprunner.*; GitHubConnection gitHubConnection; Runtime runtime; CodeRepositoryProps codeRepositoryProps = CodeRepositoryProps.builder() .codeConfiguration(CodeConfiguration.builder() .configurationSource(ConfigurationSourceType.REPOSITORY) // the properties below are optional .configurationValues(CodeConfigurationValues.builder() .runtime(runtime) // the properties below are optional .buildCommand("buildCommand") .environment(Map.of( "environmentKey", "environment")) .port("port") .startCommand("startCommand") .build()) .build()) .connection(gitHubConnection) .repositoryUrl("repositoryUrl") .sourceCodeVersion(SourceCodeVersion.builder() .type("type") .value("value") .build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCodeRepositoryProps
static final class
An implementation forCodeRepositoryProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CodeRepositoryProps.Builder
builder()
(experimental) Configuration for building and running the service from a source code repository.(experimental) The App Runner connection for GitHub.(experimental) The location of the repository that contains the source code.(experimental) The version that should be used within the source code repository.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCodeConfiguration
(experimental) Configuration for building and running the service from a source code repository. -
getConnection
(experimental) The App Runner connection for GitHub. -
getRepositoryUrl
(experimental) The location of the repository that contains the source code. -
getSourceCodeVersion
(experimental) The version that should be used within the source code repository. -
builder
- Returns:
- a
CodeRepositoryProps.Builder
ofCodeRepositoryProps
-