@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:02.849Z") @Stability(value=Experimental) public interface CodeConfigurationValues extends software.amazon.jsii.JsiiSerializable
This type doesn't support the full set of possible configuration options. Fur full configuration capabilities,
use a apprunner.yaml file in the source code repository.
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;
CodeConfigurationValues codeConfigurationValues = CodeConfigurationValues.builder()
.runtime(runtime)
// the properties below are optional
.buildCommand("buildCommand")
.environment(Map.of(
"environmentKey", "environment"))
.port("port")
.startCommand("startCommand")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CodeConfigurationValues.Builder
A builder for
CodeConfigurationValues |
static class |
CodeConfigurationValues.Jsii$Proxy
An implementation for
CodeConfigurationValues |
| Modifier and Type | Method and Description |
|---|---|
static CodeConfigurationValues.Builder |
builder() |
default String |
getBuildCommand()
(experimental) The command App Runner runs to build your application.
|
default Map<String,String> |
getEnvironment()
(experimental) The environment variables that are available to your running App Runner service.
|
default String |
getPort()
(experimental) The port that your application listens to in the container.
|
Runtime |
getRuntime()
(experimental) A runtime environment type for building and running an App Runner service.
|
default String |
getStartCommand()
(experimental) The command App Runner runs to start your application.
|
@Stability(value=Experimental) @NotNull Runtime getRuntime()
It represents a programming language runtime.
@Stability(value=Experimental) @Nullable default String getBuildCommand()
Default: - no build command.
@Stability(value=Experimental) @Nullable default Map<String,String> getEnvironment()
Default: - no environment variables.
@Stability(value=Experimental) @Nullable default String getPort()
Default: 8080
@Stability(value=Experimental) @Nullable default String getStartCommand()
Default: - no start command.
@Stability(value=Experimental) static CodeConfigurationValues.Builder builder()
CodeConfigurationValues.Builder of CodeConfigurationValuesCopyright © 2022. All rights reserved.