@Stability(value=Stable) @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(BundlingOptions.Builder builder)
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()
The command to run in the Docker container.
|
List<String> |
getEntrypoint()
The entrypoint to run in the Docker container.
|
Map<String,String> |
getEnvironment()
The environment variables to pass to the Docker container.
|
DockerImage |
getImage()
The Docker image where the command will run.
|
ILocalBundling |
getLocal()
Local bundling provider.
|
String |
getNetwork()
Docker [Networking options](https://docs.docker.com/engine/reference/commandline/run/#connect-a-container-to-a-network---network).
|
BundlingOutput |
getOutputType()
The type of output that this bundling operation is producing.
|
String |
getSecurityOpt()
[Security configuration](https://docs.docker.com/engine/reference/run/#security-configuration) when running the docker container.
|
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, 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(BundlingOptions.Builder builder)
BundlingOptions.Builder.public final DockerImage getImage()
BundlingOptionsgetImage in interface BundlingOptionspublic final List<String> getCommand()
BundlingOptions
Example value: ['npm', 'install']
Default: - run the command defined in the image
getCommand in interface BundlingOptionspublic final List<String> getEntrypoint()
BundlingOptions
Example value: ['/bin/sh', '-c']
Default: - run the entrypoint defined in the image
getEntrypoint in interface BundlingOptionspublic 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 getNetwork()
BundlingOptionsDefault: - no networking options
getNetwork in interface BundlingOptionspublic final BundlingOutput getOutputType()
BundlingOptionsDefault: BundlingOutput.AUTO_DISCOVER
getOutputType in interface BundlingOptionspublic final String getSecurityOpt()
BundlingOptionsDefault: - no security options
getSecurityOpt 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 BundlingOptionspublic 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 © 2022. All rights reserved.