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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.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 booleanThe 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 BundlingOutputThe type of output that this bundling operation is producing.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.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
-
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
-
getOutputType
Description copied from interface:BundlingOptionsThe type of output that this bundling operation is producing.Default: BundlingOutput.AUTO_DISCOVER
- Specified by:
getOutputTypein 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
-
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()
-