@Stability(value=Stable) @Internal public static final class DockerImageAssetSource.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements DockerImageAssetSource
DockerImageAssetSourcesoftware.amazon.jsii.JsiiObject.InitializationModeDockerImageAssetSource.Builder, DockerImageAssetSource.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(DockerImageAssetSource.Builder builder)
Constructor that initializes the object based on literal property values passed by the
DockerImageAssetSource.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getDirectoryName()
The directory where the Dockerfile is stored, must be relative to the cloud assembly root.
|
Map<String,String> |
getDockerBuildArgs()
Build args to pass to the `docker build` command.
|
String |
getDockerBuildTarget()
Docker target to build to.
|
String |
getDockerFile()
Path to the Dockerfile (relative to the directory).
|
List<String> |
getExecutable()
An external command that will produce the packaged asset.
|
String |
getNetworkMode()
Networking mode for the RUN commands during build.
|
String |
getPlatform()
Platform to build for.
|
String |
getSourceHash()
The hash of the contents of the docker build context.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(DockerImageAssetSource.Builder builder)
DockerImageAssetSource.Builder.public final String getSourceHash()
DockerImageAssetSourceThis hash is used throughout the system to identify this image and avoid duplicate work in case the source did not change.
NOTE: this means that if you wish to update your docker image, you must make a modification to the source (e.g. add some metadata to your Dockerfile).
getSourceHash in interface DockerImageAssetSourcepublic final String getDirectoryName()
DockerImageAssetSourceDefault: - Exactly one of `directoryName` and `executable` is required
getDirectoryName in interface DockerImageAssetSourcepublic final Map<String,String> getDockerBuildArgs()
DockerImageAssetSource
Since Docker build arguments are resolved before deployment, keys and
values cannot refer to unresolved tokens (such as lambda.functionArn or
queue.queueUrl).
Only allowed when directoryName is specified.
Default: - no build args are passed
getDockerBuildArgs in interface DockerImageAssetSourcepublic final String getDockerBuildTarget()
DockerImageAssetSource
Only allowed when directoryName is specified.
Default: - no target
getDockerBuildTarget in interface DockerImageAssetSourcepublic final String getDockerFile()
DockerImageAssetSource
Only allowed when directoryName is specified.
Default: - no file
getDockerFile in interface DockerImageAssetSourcepublic final List<String> getExecutable()
DockerImageAssetSource
The command should produce the name of a local Docker image on stdout.
Default: - Exactly one of `directoryName` and `executable` is required
getExecutable in interface DockerImageAssetSourcepublic final String getNetworkMode()
DockerImageAssetSourceSpecify this property to build images on a specific networking mode.
Default: - no networking mode specified
getNetworkMode in interface DockerImageAssetSourcepublic final String getPlatform()
DockerImageAssetSourceSpecify this property to build images on a specific platform.
Default: - no platform specified (the current machine architecture will be used)
getPlatform in interface DockerImageAssetSource@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.