@Stability(value=Stable)
public static interface CfnService.ImageConfigurationProperty
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.*;
ImageConfigurationProperty imageConfigurationProperty = ImageConfigurationProperty.builder()
.port("port")
.runtimeEnvironmentVariables(List.of(KeyValuePairProperty.builder()
.name("name")
.value("value")
.build()))
.startCommand("startCommand")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnService.ImageConfigurationProperty.Builder
A builder for
CfnService.ImageConfigurationProperty |
static class |
CfnService.ImageConfigurationProperty.Jsii$Proxy
An implementation for
CfnService.ImageConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnService.ImageConfigurationProperty.Builder |
builder() |
default String |
getPort()
The port that your application listens to in the container.
|
default Object |
getRuntimeEnvironmentVariables()
Environment variables that are available to your running App Runner service.
|
default String |
getStartCommand()
An optional command that App Runner runs to start the application in the source image.
|
@Stability(value=Stable) @Nullable default String getPort()
Default: 8080
@Stability(value=Stable) @Nullable default Object getRuntimeEnvironmentVariables()
An array of key-value pairs. Keys with a prefix of AWSAPPRUNNER are reserved for system use and aren't valid.
@Stability(value=Stable) @Nullable default String getStartCommand()
If specified, this command overrides the Docker image’s default start command.
@Stability(value=Stable) static CfnService.ImageConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.