@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:02.828Z") @Stability(value=Experimental) public interface AssetProps 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.*;
import software.amazon.awscdk.services.ecr.assets.*;
DockerImageAsset dockerImageAsset;
AssetProps assetProps = AssetProps.builder()
.asset(dockerImageAsset)
// the properties below are optional
.imageConfiguration(ImageConfiguration.builder()
.environment(Map.of(
"environmentKey", "environment"))
.port(123)
.startCommand("startCommand")
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
AssetProps.Builder
A builder for
AssetProps |
static class |
AssetProps.Jsii$Proxy
An implementation for
AssetProps |
| Modifier and Type | Method and Description |
|---|---|
static AssetProps.Builder |
builder() |
DockerImageAsset |
getAsset()
(experimental) Represents the docker image asset.
|
default ImageConfiguration |
getImageConfiguration()
(experimental) The image configuration for the image built from the asset.
|
@Stability(value=Experimental) @NotNull DockerImageAsset getAsset()
@Stability(value=Experimental) @Nullable default ImageConfiguration getImageConfiguration()
Default: - no image configuration will be passed. The default `port` will be 8080.
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-imageconfiguration.html#cfn-apprunner-service-imageconfiguration-port@Stability(value=Experimental) static AssetProps.Builder builder()
AssetProps.Builder of AssetPropsCopyright © 2022. All rights reserved.