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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.BundlingOptions
BundlingOptions.Builder, BundlingOptions.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(BundlingOptions.Builder builder) Constructor that initializes the object based on literal property values passed by theBundlingOptions.Builder.protectedJsii$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.JsonNodefinal booleanfinal BundlingFileAccessThe 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 DockerImagegetImage()The Docker image where the command will run.final ILocalBundlinggetLocal()Local bundling provider.final StringDocker Networking options.final BundlingOutputThe type of output that this bundling operation is producing.final StringPlatform to build for.final StringSecurity configuration when running the docker container.final StringgetUser()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 StringWorking directory inside the Docker container.final inthashCode()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:BundlingOptionsThe Docker image where the command will run.- Specified by:
getImagein interfaceBundlingOptions
-
getBundlingFileAccess
Description copied from interface:BundlingOptionsThe 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:
getBundlingFileAccessin interfaceBundlingOptions
-
getCommand
Description copied from interface:BundlingOptionsThe command to run in the Docker container.Example value:
['npm', 'install']Default: - run the command defined in the image
- Specified by:
getCommandin interfaceBundlingOptions- See Also:
-
getEntrypoint
Description copied from interface:BundlingOptionsThe entrypoint to run in the Docker container.Example value:
['/bin/sh', '-c']Default: - run the entrypoint defined in the image
- Specified by:
getEntrypointin interfaceBundlingOptions- See Also:
-
getEnvironment
Description copied from interface:BundlingOptionsThe environment variables to pass to the Docker container.Default: - no environment variables.
- Specified by:
getEnvironmentin interfaceBundlingOptions
-
getLocal
Description copied from interface:BundlingOptionsLocal bundling provider.The provider implements a method
tryBundle()which should returntrueif local bundling was performed. Iffalseis returned, docker bundling will be done.Default: - bundling will only be performed in a Docker container
- Specified by:
getLocalin interfaceBundlingOptions
-
getNetwork
Description copied from interface:BundlingOptionsDocker Networking options.Default: - no networking options
- Specified by:
getNetworkin interfaceBundlingOptions
-
getOutputType
Description copied from interface:BundlingOptionsThe type of output that this bundling operation is producing.Default: BundlingOutput.AUTO_DISCOVER
- Specified by:
getOutputTypein interfaceBundlingOptions
-
getPlatform
Description copied from interface:BundlingOptionsPlatform 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:
getPlatformin interfaceBundlingOptions
-
getSecurityOpt
Description copied from interface:BundlingOptionsSecurity configuration when running the docker container.Default: - no security options
- Specified by:
getSecurityOptin interfaceBundlingOptions
-
getUser
Description copied from interface:BundlingOptionsThe 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:
getUserin interfaceBundlingOptions- See Also:
-
getVolumes
Description copied from interface:BundlingOptionsAdditional Docker volumes to mount.Default: - no additional volumes are mounted
- Specified by:
getVolumesin interfaceBundlingOptions
-
getVolumesFrom
Description copied from interface:BundlingOptionsWhere to mount the specified volumes from.Default: - no containers are specified to mount volumes from
- Specified by:
getVolumesFromin interfaceBundlingOptions- See Also:
-
getWorkingDirectory
Description copied from interface:BundlingOptionsWorking directory inside the Docker container.Default: /asset-input
- Specified by:
getWorkingDirectoryin interfaceBundlingOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-