Interface DockerBuildAssetOptions

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:40.698Z") @Stability(Stable) public interface DockerBuildAssetOptions extends, DockerBuildOptions
Options when creating an asset from a Docker build.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 DockerBuildAssetOptions dockerBuildAssetOptions = DockerBuildAssetOptions.builder()
                 "buildArgsKey", "buildArgs"))
  • Method Details

    • getImagePath

      @Stability(Stable) @Nullable default String getImagePath()
      The path in the Docker image where the asset is located after the build operation.

      Default: /asset

    • getOutputPath

      @Stability(Stable) @Nullable default String getOutputPath()
      The path on the local filesystem where the asset will be copied using docker cp.

      Default: - a unique temporary directory in the system temp directory

    • builder

      @Stability(Stable) static DockerBuildAssetOptions.Builder builder()
      a DockerBuildAssetOptions.Builder of DockerBuildAssetOptions