@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(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,
String repositoryName)
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()
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 |
getRepositoryName()
(deprecated) ECR repository name.
|
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(String sourceHash, String directoryName, Map<String,String> dockerBuildArgs, String dockerBuildTarget, String dockerFile, List<String> executable, String repositoryName)
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 getRepositoryName()
DockerImageAssetSourceSpecify this property if you need to statically address the image, e.g. from a Kubernetes Pod. Note, this is only the repository name, without the registry and the tag parts.
Default: - automatically derived from the asset's ID.
getRepositoryName in interface DockerImageAssetSource@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.