@Stability(value=Experimental) @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(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(String sourceHash,
String directoryName,
Map<String,String> dockerBuildArgs,
String dockerBuildTarget,
String dockerFile,
List<String> executable)
Constructor that initializes the object based on literal property values passed by the
DockerImageAssetSource.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getDirectoryName()
(experimental) The directory where the Dockerfile is stored, must be relative to the cloud assembly root.
|
Map<String,String> |
getDockerBuildArgs()
(experimental) Build args to pass to the `docker build` command.
|
String |
getDockerBuildTarget()
(experimental) Docker target to build to.
|
String |
getDockerFile()
(experimental) Path to the Dockerfile (relative to the directory).
|
List<String> |
getExecutable()
(experimental) An external command that will produce the packaged asset.
|
String |
getSourceHash()
(experimental) 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.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 DockerImageAssetSource@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.