@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-14T16:25:29.745Z") public interface DockerBuildAssetOptions extends 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") .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 java.lang.String |
getImagePath()
The path in the Docker image where the asset is located after the build operation.
|
default java.lang.String |
getOutputPath()
The path on the local filesystem where the asset will be copied using `docker cp`.
|
getBuildArgs, getFile, getPlatform
default java.lang.String getImagePath()
Default: /asset
default java.lang.String getOutputPath()
Default: - a unique temporary directory in the system temp directory
static DockerBuildAssetOptions.Builder builder()
builder
in interface DockerBuildOptions
DockerBuildAssetOptions.Builder
of DockerBuildAssetOptions