@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 directoryName,
String sourceHash,
Map<String,String> dockerBuildArgs,
String dockerBuildTarget,
String dockerFile,
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).
|
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.public final String getDirectoryName()
DockerImageAssetSourcegetDirectoryName in interface DockerImageAssetSourcepublic 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 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).
Default: - no build args are passed
getDockerBuildArgs in interface DockerImageAssetSourcepublic final String getDockerBuildTarget()
DockerImageAssetSourceDefault: - no target
getDockerBuildTarget in interface DockerImageAssetSourcepublic final String getDockerFile()
DockerImageAssetSourceDefault: - no file
getDockerFile 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 © 2020. All rights reserved.