@Stability(value=Experimental) public static final class ParcelOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ParcelOptions
ParcelOptionssoftware.amazon.jsii.JsiiObject.InitializationModeParcelOptions.Builder, ParcelOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Map<String,String> |
getBuildArgs()
Build arguments to pass when building the bundling image.
|
String |
getCacheDir()
The cache directory (relative to the project root).
|
String |
getEntry()
Entry file.
|
List<String> |
getExternalModules()
A list of modules that should be considered as externals (already available in the runtime).
|
Boolean |
getForceDockerBundling()
Force bundling in a Docker container even if local bundling is possible.This is useful if your function relies on node modules that should be installed (`nodeModules`) in a Lambda compatible environment.
|
Boolean |
getMinify()
Whether to minify files when bundling.
|
List<String> |
getNodeModules()
A list of modules that should be installed instead of bundled.
|
Map<String,String> |
getParcelEnvironment()
Environment variables defined when Parcel runs.
|
String |
getParcelVersion()
The version of Parcel to use when running in a Docker container.
|
String |
getProjectRoot()
The root of the project.
|
Runtime |
getRuntime()
The runtime of the lambda function.
|
Boolean |
getSourceMaps()
Whether to include source maps when bundling.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.public String getEntry()
ParcelOptionsEXPERIMENTAL
getEntry in interface ParcelOptionspublic Runtime getRuntime()
ParcelOptionsEXPERIMENTAL
getRuntime in interface ParcelOptionspublic Map<String,String> getBuildArgs()
ParcelBaseOptionsDefault: - no build arguments are passed
EXPERIMENTAL
getBuildArgs in interface ParcelBaseOptionspublic String getCacheDir()
ParcelBaseOptionsParcel uses a filesystem cache for fast rebuilds.
Default: - `.parcel-cache` in the working directory
EXPERIMENTAL
getCacheDir in interface ParcelBaseOptionspublic List<String> getExternalModules()
ParcelBaseOptionsDefault: ['aws-sdk']
EXPERIMENTAL
getExternalModules in interface ParcelBaseOptionspublic Boolean getForceDockerBundling()
ParcelBaseOptionsDefault: false
EXPERIMENTAL
getForceDockerBundling in interface ParcelBaseOptionspublic Boolean getMinify()
ParcelBaseOptionsDefault: false
EXPERIMENTAL
getMinify in interface ParcelBaseOptionspublic List<String> getNodeModules()
ParcelBaseOptionsModules are installed in a Lambda compatible environnment.
Default: - all modules are bundled
EXPERIMENTAL
getNodeModules in interface ParcelBaseOptionspublic Map<String,String> getParcelEnvironment()
ParcelBaseOptionsDefault: - no environment variables are defined.
EXPERIMENTAL
getParcelEnvironment in interface ParcelBaseOptionspublic String getParcelVersion()
ParcelBaseOptionsDefault: - 2.0.0-beta.1
EXPERIMENTAL
getParcelVersion in interface ParcelBaseOptionspublic String getProjectRoot()
ParcelBaseOptions
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
getProjectRoot in interface ParcelBaseOptionspublic Boolean getSourceMaps()
ParcelBaseOptionsDefault: false
EXPERIMENTAL
getSourceMaps in interface ParcelBaseOptionspublic com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2020. All rights reserved.