Class DockerBuildAssetOptions.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.lambda.DockerBuildAssetOptions.Jsii$Proxy
- All Implemented Interfaces:
DockerBuildOptions
,DockerBuildAssetOptions
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
DockerBuildAssetOptions
@Stability(Stable)
@Internal
public static final class DockerBuildAssetOptions.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements DockerBuildAssetOptions
An implementation for
DockerBuildAssetOptions
-
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.services.lambda.DockerBuildAssetOptions
DockerBuildAssetOptions.Builder, DockerBuildAssetOptions.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theDockerBuildAssetOptions.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
Build args.final Boolean
Disable the cache and pass--no-cache
to thedocker build
command.final List<DockerCacheOption>
Cache from options to pass to thedocker build
command.final DockerCacheOption
Cache to options to pass to thedocker build
command.final String
getFile()
Name of the Dockerfile, must relative to the docker build path.final String
The path in the Docker image where the asset is located after the build operation.final String
The path on the local filesystem where the asset will be copied usingdocker cp
.final String
Set platform if server is multi-platform capable.final String
Set build target for multi-stage container builds.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 theDockerBuildAssetOptions.Builder
.
-
-
Method Details
-
getImagePath
Description copied from interface:DockerBuildAssetOptions
The path in the Docker image where the asset is located after the build operation.Default: /asset
- Specified by:
getImagePath
in interfaceDockerBuildAssetOptions
-
getOutputPath
Description copied from interface:DockerBuildAssetOptions
The path on the local filesystem where the asset will be copied usingdocker cp
.Default: - a unique temporary directory in the system temp directory
- Specified by:
getOutputPath
in interfaceDockerBuildAssetOptions
-
getBuildArgs
Description copied from interface:DockerBuildOptions
Build args.Default: - no build args
- Specified by:
getBuildArgs
in interfaceDockerBuildOptions
-
getCacheDisabled
Description copied from interface:DockerBuildOptions
Disable the cache and pass--no-cache
to thedocker build
command.Default: - cache is used
- Specified by:
getCacheDisabled
in interfaceDockerBuildOptions
-
getCacheFrom
Description copied from interface:DockerBuildOptions
Cache from options to pass to thedocker build
command.Default: - no cache from args are passed
- Specified by:
getCacheFrom
in interfaceDockerBuildOptions
-
getCacheTo
Description copied from interface:DockerBuildOptions
Cache to options to pass to thedocker build
command.Default: - no cache to args are passed
- Specified by:
getCacheTo
in interfaceDockerBuildOptions
-
getFile
Description copied from interface:DockerBuildOptions
Name of the Dockerfile, must relative to the docker build path.Default: `Dockerfile`
- Specified by:
getFile
in interfaceDockerBuildOptions
-
getPlatform
Description copied from interface:DockerBuildOptions
Set platform if server is multi-platform capable. Requires Docker Engine API v1.38+.Example value:
linux/amd64
Default: - no platform specified
- Specified by:
getPlatform
in interfaceDockerBuildOptions
-
getTargetStage
Description copied from interface:DockerBuildOptions
Set build target for multi-stage container builds. Any stage defined afterwards will be ignored.Example value:
build-env
Default: - Build all stages defined in the Dockerfile
- Specified by:
getTargetStage
in interfaceDockerBuildOptions
-
$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()
-