@Generated(value="jsii-pacmak/1.9.0 (build 5c646d5)", date="2020-07-20T10:46:39.316Z") @Stability(value=Experimental) public interface ParcelBaseOptions extends software.amazon.jsii.JsiiSerializable
EXPERIMENTAL
| Modifier and Type | Interface and Description |
|---|---|
static class |
ParcelBaseOptions.Builder
A builder for
ParcelBaseOptions |
static class |
ParcelBaseOptions.Jsii$Proxy
An implementation for
ParcelBaseOptions |
| Modifier and Type | Method and Description |
|---|---|
static ParcelBaseOptions.Builder |
builder() |
default Map<String,String> |
getBuildArgs()
Build arguments to pass when building the bundling image.
|
default String |
getCacheDir()
The cache directory.
|
default List<String> |
getExternalModules()
A list of modules that should be considered as externals (already available in the runtime).
|
default Boolean |
getMinify()
Whether to minify files when bundling.
|
default List<String> |
getNodeModules()
A list of modules that should be installed instead of bundled.
|
default Map<String,String> |
getParcelEnvironment()
Environment variables defined when Parcel runs.
|
default String |
getParcelVersion()
The version of Parcel to use.
|
default String |
getProjectRoot()
The root of the project.
|
default Boolean |
getSourceMaps()
Whether to include source maps when bundling.
|
@Stability(value=Experimental) @Nullable default Map<String,String> getBuildArgs()
Default: - no build arguments are passed
EXPERIMENTAL
@Stability(value=Experimental) @Nullable default String getCacheDir()
Parcel uses a filesystem cache for fast rebuilds.
Default: - `.cache` in the root directory
EXPERIMENTAL
@Stability(value=Experimental) @Nullable default List<String> getExternalModules()
Default: ['aws-sdk']
EXPERIMENTAL
@Stability(value=Experimental) @Nullable default Boolean getMinify()
Default: false
EXPERIMENTAL
@Stability(value=Experimental) @Nullable default List<String> getNodeModules()
Modules are installed in a Lambda compatible environnment.
Default: - all modules are bundled
EXPERIMENTAL
@Stability(value=Experimental) @Nullable default Map<String,String> getParcelEnvironment()
Default: - no environment variables are defined.
EXPERIMENTAL
@Stability(value=Experimental) @Nullable default String getParcelVersion()
Default: - 2.0.0-beta.1
EXPERIMENTAL
@Stability(value=Experimental) @Nullable default String getProjectRoot()
This will be used as the source for the volume
mounted in the Docker container. If you specify this prop, ensure that
this path includes entry and any module/dependencies used by your
function otherwise bundling will not be possible.
Default: - the closest path containing a .git folder
EXPERIMENTAL
@Stability(value=Experimental) @Nullable default Boolean getSourceMaps()
Default: false
EXPERIMENTAL
@Stability(value=Experimental) static ParcelBaseOptions.Builder builder()
ParcelBaseOptions.Builder of ParcelBaseOptionsCopyright © 2020. All rights reserved.