@Stability(value=Experimental) public static final class BundlingOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements BundlingOptions
BundlingOptionssoftware.amazon.jsii.JsiiObject.InitializationModeBundlingOptions.Builder, BundlingOptions.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) |
List<String> |
getCommand()
The command to run in the Docker container.
|
Map<String,String> |
getEnvironment()
The environment variables to pass to the Docker container.
|
BundlingDockerImage |
getImage()
The Docker image where the command will run.
|
ILocalBundling |
getLocal()
Local bundling provider.
|
String |
getUser()
The user to use when running the Docker container.
|
List<DockerVolume> |
getVolumes()
Additional Docker volumes to mount.
|
String |
getWorkingDirectory()
Working directory inside the Docker container.
|
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 BundlingDockerImage getImage()
BundlingOptionsEXPERIMENTAL
getImage in interface BundlingOptionspublic List<String> getCommand()
BundlingOptionsDefault: - run the command defined in the image
Example:
// Example automatically generated. See https://github.com/aws/jsii/issues/826 asList("npm", "install");
EXPERIMENTAL
getCommand in interface BundlingOptionshttps://docs.docker.com/engine/reference/run/public Map<String,String> getEnvironment()
BundlingOptionsDefault: - no environment variables.
EXPERIMENTAL
getEnvironment in interface BundlingOptionspublic ILocalBundling getLocal()
BundlingOptions
The provider implements a method tryBundle() which should return true
if local bundling was performed. If false is returned, docker bundling
will be done.
Default: - bundling will only be performed in a Docker container
EXPERIMENTAL
getLocal in interface BundlingOptionspublic String getUser()
BundlingOptionsuser | user:group | uid | uid:gid | user:gid | uid:group
Default: - uid:gid of the current user or 1000:1000 on Windows
EXPERIMENTAL
getUser in interface BundlingOptionshttps://docs.docker.com/engine/reference/run/#userpublic List<DockerVolume> getVolumes()
BundlingOptionsDefault: - no additional volumes are mounted
EXPERIMENTAL
getVolumes in interface BundlingOptionspublic String getWorkingDirectory()
BundlingOptionsDefault: /asset-input
EXPERIMENTAL
getWorkingDirectory in interface BundlingOptionspublic com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2020. All rights reserved.