Interface DockerBuildAssetOptions
- All Superinterfaces:
DockerBuildOptions
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DockerBuildAssetOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:40.698Z")
@Stability(Stable)
public interface DockerBuildAssetOptions
extends software.amazon.jsii.JsiiSerializable, DockerBuildOptions
Options when creating an asset from a Docker build.
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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forDockerBuildAssetOptions
static final class
An implementation forDockerBuildAssetOptions
-
Method Summary
Methods inherited from interface software.amazon.awscdk.core.DockerBuildOptions
getBuildArgs, getFile, getPlatform
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getImagePath
The path in the Docker image where the asset is located after the build operation.Default: /asset
-
getOutputPath
The path on the local filesystem where the asset will be copied usingdocker cp
.Default: - a unique temporary directory in the system temp directory
-
builder
- Returns:
- a
DockerBuildAssetOptions.Builder
ofDockerBuildAssetOptions
-