@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:24.561Z") @Stability(value=Experimental) public interface CodeConfiguration extends software.amazon.jsii.JsiiSerializable
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.*;
Runtime runtime;
CodeConfiguration 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();
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-codeconfiguration.html| Modifier and Type | Interface and Description |
|---|---|
static class |
CodeConfiguration.Builder
A builder for
CodeConfiguration |
static class |
CodeConfiguration.Jsii$Proxy
An implementation for
CodeConfiguration |
| Modifier and Type | Method and Description |
|---|---|
static CodeConfiguration.Builder |
builder() |
ConfigurationSourceType |
getConfigurationSource()
(experimental) The source of the App Runner configuration.
|
default CodeConfigurationValues |
getConfigurationValues()
(experimental) The basic configuration for building and running the App Runner service.
|
@Stability(value=Experimental) @NotNull ConfigurationSourceType getConfigurationSource()
@Stability(value=Experimental) @Nullable default CodeConfigurationValues getConfigurationValues()
Use it to quickly launch an App Runner service without providing a apprunner.yaml file in the source code repository (or ignoring the file if it exists).
Default: - not specified. Use `apprunner.yaml` instead.
@Stability(value=Experimental) static CodeConfiguration.Builder builder()
CodeConfiguration.Builder of CodeConfigurationCopyright © 2022. All rights reserved.