@Stability(value=Experimental) @Internal 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(BundlingDockerImage image,
List<String> command,
Map<String,String> environment,
ILocalBundling local,
String user,
List<? extends DockerVolume> volumes,
String workingDirectory)
Constructor that initializes the object based on literal property values passed by the
BundlingOptions.Builder. |
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()
(experimental) The command to run in the Docker container.
|
Map<String,String> |
getEnvironment()
(experimental) The environment variables to pass to the Docker container.
|
BundlingDockerImage |
getImage()
(experimental) The Docker image where the command will run.
|
ILocalBundling |
getLocal()
(experimental) Local bundling provider.
|
String |
getUser()
(experimental) The user to use when running the Docker container.
|
List<DockerVolume> |
getVolumes()
(experimental) Additional Docker volumes to mount.
|
String |
getWorkingDirectory()
(experimental) Working directory inside the Docker container.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(BundlingDockerImage image, List<String> command, Map<String,String> environment, ILocalBundling local, String user, List<? extends DockerVolume> volumes, String workingDirectory)
BundlingOptions.Builder.public final BundlingDockerImage getImage()
BundlingOptionsgetImage in interface BundlingOptionspublic final 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");
getCommand in interface BundlingOptionshttps://docs.docker.com/engine/reference/run/public final Map<String,String> getEnvironment()
BundlingOptionsDefault: - no environment variables.
getEnvironment in interface BundlingOptionspublic final 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
getLocal in interface BundlingOptionspublic final String getUser()
BundlingOptionsuser | user:group | uid | uid:gid | user:gid | uid:group
Default: - uid:gid of the current user or 1000:1000 on Windows
getUser in interface BundlingOptionshttps://docs.docker.com/engine/reference/run/#userpublic final List<DockerVolume> getVolumes()
BundlingOptionsDefault: - no additional volumes are mounted
getVolumes in interface BundlingOptionspublic final String getWorkingDirectory()
BundlingOptionsDefault: /asset-input
getWorkingDirectory in interface BundlingOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2020. All rights reserved.