Package software.amazon.awscdk.core
Class BundlingOptions.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.core.BundlingOptions.Jsii$Proxy
- All Implemented Interfaces:
BundlingOptions
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- BundlingOptions
@Stability(Stable)
@Internal
public static final class BundlingOptions.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements BundlingOptions
An implementation for
BundlingOptions
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.BundlingOptions
BundlingOptions.Builder, BundlingOptions.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Jsii$Proxy
(BundlingOptions.Builder builder) Constructor that initializes the object based on literal property values passed by theBundlingOptions.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
The command to run in the Docker container.The entrypoint to run in the Docker container.The environment variables to pass to the Docker container.final DockerImage
getImage()
The Docker image where the command will run.final ILocalBundling
getLocal()
Local bundling provider.final BundlingOutput
The type of output that this bundling operation is producing.final String
Security configuration when running the docker container.final String
getUser()
The user to use when running the Docker container.final List<DockerVolume>
Additional Docker volumes to mount.final String
Working directory inside the Docker container.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theBundlingOptions.Builder
.
-
-
Method Details
-
getImage
Description copied from interface:BundlingOptions
The Docker image where the command will run.- Specified by:
getImage
in interfaceBundlingOptions
-
getCommand
Description copied from interface:BundlingOptions
The command to run in the Docker container.Example value:
['npm', 'install']
Default: - run the command defined in the image
- Specified by:
getCommand
in interfaceBundlingOptions
- See Also:
-
getEntrypoint
Description copied from interface:BundlingOptions
The entrypoint to run in the Docker container.Example value:
['/bin/sh', '-c']
Default: - run the entrypoint defined in the image
- Specified by:
getEntrypoint
in interfaceBundlingOptions
- See Also:
-
getEnvironment
Description copied from interface:BundlingOptions
The environment variables to pass to the Docker container.Default: - no environment variables.
- Specified by:
getEnvironment
in interfaceBundlingOptions
-
getLocal
Description copied from interface:BundlingOptions
Local bundling provider.The provider implements a method
tryBundle()
which should returntrue
if local bundling was performed. Iffalse
is returned, docker bundling will be done.Default: - bundling will only be performed in a Docker container
- Specified by:
getLocal
in interfaceBundlingOptions
-
getOutputType
Description copied from interface:BundlingOptions
The type of output that this bundling operation is producing.Default: BundlingOutput.AUTO_DISCOVER
- Specified by:
getOutputType
in interfaceBundlingOptions
-
getSecurityOpt
Description copied from interface:BundlingOptions
Security configuration when running the docker container.Default: - no security options
- Specified by:
getSecurityOpt
in interfaceBundlingOptions
-
getUser
Description copied from interface:BundlingOptions
The user to use when running the Docker container.user | user:group | uid | uid:gid | user:gid | uid:group
Default: - uid:gid of the current user or 1000:1000 on Windows
- Specified by:
getUser
in interfaceBundlingOptions
- See Also:
-
getVolumes
Description copied from interface:BundlingOptions
Additional Docker volumes to mount.Default: - no additional volumes are mounted
- Specified by:
getVolumes
in interfaceBundlingOptions
-
getWorkingDirectory
Description copied from interface:BundlingOptions
Working directory inside the Docker container.Default: /asset-input
- Specified by:
getWorkingDirectory
in interfaceBundlingOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-