Class BundlingOptions.Jsii$Proxy
- All Implemented Interfaces:
BundlingOptions
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
BundlingOptions
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.BundlingOptions
BundlingOptions.Builder, BundlingOptions.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
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
final BundlingFileAccess
The access mechanism used to make source files available to the bundling container and to return the bundling output back to the host.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 String
Docker Networking options.final BundlingOutput
The type of output that this bundling operation is producing.final String
Platform to build for.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.Where to mount the specified volumes from.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
-
getBundlingFileAccess
Description copied from interface:BundlingOptions
The access mechanism used to make source files available to the bundling container and to return the bundling output back to the host.Default: - BundlingFileAccess.BIND_MOUNT
- Specified by:
getBundlingFileAccess
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
-
getNetwork
Description copied from interface:BundlingOptions
Docker Networking options.Default: - no networking options
- Specified by:
getNetwork
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
-
getPlatform
Description copied from interface:BundlingOptions
Platform to build for. Requires Docker Buildx.Specify this property to build images on a specific platform.
Default: - no platform specified (the current machine architecture will be used)
- Specified by:
getPlatform
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
-
getVolumesFrom
Description copied from interface:BundlingOptions
Where to mount the specified volumes from.Default: - no containers are specified to mount volumes from
- Specified by:
getVolumesFrom
in interfaceBundlingOptions
- See Also:
-
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()
-