Interface CodeRepositoryProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CodeRepositoryProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)",
date="2024-09-06T01:36:37.791Z")
@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.alpha.*; GitHubConnection gitHubConnection; Runtime runtime; Secret secret; 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")) .environmentSecrets(Map.of( "environmentSecretsKey", secret)) .environmentVariables(Map.of( "environmentVariablesKey", "environmentVariables")) .port("port") .startCommand("startCommand") .build()) .build()) .connection(gitHubConnection) .repositoryUrl("repositoryUrl") .sourceCodeVersion(SourceCodeVersion.builder() .type("type") .value("value") .build()) .build();
-
Nested Class Summary
Nested ClassesModifier 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
-