@Generated(value="jsii-pacmak/1.6.0 (build 248e75b)", date="2020-06-09T15:22:31.250Z") @Stability(value=Experimental) public interface BundlingOptions extends software.amazon.jsii.JsiiSerializable
EXPERIMENTAL
| Modifier and Type | Interface and Description |
|---|---|
static class |
BundlingOptions.Builder
A builder for
BundlingOptions |
static class |
BundlingOptions.Jsii$Proxy
An implementation for
BundlingOptions |
| Modifier and Type | Method and Description |
|---|---|
static BundlingOptions.Builder |
builder() |
default List<String> |
getCommand()
The command to run in the container.
|
default Map<String,String> |
getEnvironment()
The environment variables to pass to the container.
|
BundlingDockerImage |
getImage()
The Docker image where the command will run.
|
default List<DockerVolume> |
getVolumes()
Additional Docker volumes to mount.
|
default String |
getWorkingDirectory()
Working directory inside the container.
|
@Stability(value=Experimental) @NotNull BundlingDockerImage getImage()
EXPERIMENTAL
@Stability(value=Experimental) @Nullable default List<String> getCommand()
Default: - run the command defined in the image
Example:
// Example automatically generated. See https://github.com/aws/jsii/issues/826 asList("npm", "install");
EXPERIMENTAL
https://docs.docker.com/engine/reference/run/@Stability(value=Experimental) @Nullable default Map<String,String> getEnvironment()
Default: - no environment variables.
EXPERIMENTAL
@Stability(value=Experimental) @Nullable default List<DockerVolume> getVolumes()
Default: - no additional volumes are mounted
EXPERIMENTAL
@Stability(value=Experimental) @Nullable default String getWorkingDirectory()
Default: /asset-input
EXPERIMENTAL
@Stability(value=Experimental) static BundlingOptions.Builder builder()
BundlingOptions.Builder of BundlingOptionsCopyright © 2020. All rights reserved.