@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.432Z") @Stability(value=Stable) public interface DockerBuildAssetOptions extends software.amazon.jsii.JsiiSerializable, DockerBuildOptions
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.lambda.*;
DockerBuildAssetOptions dockerBuildAssetOptions = DockerBuildAssetOptions.builder()
.buildArgs(Map.of(
"buildArgsKey", "buildArgs"))
.file("file")
.imagePath("imagePath")
.outputPath("outputPath")
.platform("platform")
.targetStage("targetStage")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
DockerBuildAssetOptions.Builder
A builder for
DockerBuildAssetOptions |
static class |
DockerBuildAssetOptions.Jsii$Proxy
An implementation for
DockerBuildAssetOptions |
| Modifier and Type | Method and Description |
|---|---|
static DockerBuildAssetOptions.Builder |
builder() |
default String |
getImagePath()
The path in the Docker image where the asset is located after the build operation.
|
default String |
getOutputPath()
The path on the local filesystem where the asset will be copied using `docker cp`.
|
getBuildArgs, getFile, getPlatform, getTargetStage@Stability(value=Stable) @Nullable default String getImagePath()
Default: /asset
@Stability(value=Stable) @Nullable default String getOutputPath()
Default: - a unique temporary directory in the system temp directory
@Stability(value=Stable) static DockerBuildAssetOptions.Builder builder()
builder in interface DockerBuildOptionsDockerBuildAssetOptions.Builder of DockerBuildAssetOptionsCopyright © 2022. All rights reserved.