@Stability(value=Stable)
public static interface CfnService.CodeConfigurationValuesProperty
extends software.amazon.jsii.JsiiSerializable
// 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.*;
CodeConfigurationValuesProperty codeConfigurationValuesProperty = CodeConfigurationValuesProperty.builder()
.runtime("runtime")
// the properties below are optional
.buildCommand("buildCommand")
.port("port")
.runtimeEnvironmentVariables(List.of(KeyValuePairProperty.builder()
.name("name")
.value("value")
.build()))
.startCommand("startCommand")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnService.CodeConfigurationValuesProperty.Builder
A builder for
CfnService.CodeConfigurationValuesProperty |
static class |
CfnService.CodeConfigurationValuesProperty.Jsii$Proxy
An implementation for
CfnService.CodeConfigurationValuesProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnService.CodeConfigurationValuesProperty.Builder |
builder() |
default String |
getBuildCommand()
`CfnService.CodeConfigurationValuesProperty.BuildCommand`.
|
default String |
getPort()
`CfnService.CodeConfigurationValuesProperty.Port`.
|
String |
getRuntime()
`CfnService.CodeConfigurationValuesProperty.Runtime`.
|
default Object |
getRuntimeEnvironmentVariables()
`CfnService.CodeConfigurationValuesProperty.RuntimeEnvironmentVariables`.
|
default String |
getStartCommand()
`CfnService.CodeConfigurationValuesProperty.StartCommand`.
|
@Stability(value=Stable) @Nullable default String getBuildCommand()
@Stability(value=Stable) @Nullable default String getPort()
@Stability(value=Stable) @NotNull String getRuntime()
@Stability(value=Stable) @Nullable default Object getRuntimeEnvironmentVariables()
@Stability(value=Stable) @Nullable default String getStartCommand()
@Stability(value=Stable) static CfnService.CodeConfigurationValuesProperty.Builder builder()
Copyright © 2021. All rights reserved.