@Stability(value=Stable) @Internal public static final class DockerImageAssetSource.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements DockerImageAssetSource
DockerImageAssetSource
software.amazon.jsii.JsiiObject.InitializationMode
DockerImageAssetSource.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 |
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, jsiiStaticSet
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected 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()
DockerImageAssetSource
This 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 DockerImageAssetSource
public final String getDirectoryName()
DockerImageAssetSource
Default: - Exactly one of `directoryName` and `executable` is required
getDirectoryName
in interface DockerImageAssetSource
public 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 DockerImageAssetSource
public final String getDockerBuildTarget()
DockerImageAssetSource
Only allowed when directoryName
is specified.
Default: - no target
getDockerBuildTarget
in interface DockerImageAssetSource
public final String getDockerFile()
DockerImageAssetSource
Only allowed when directoryName
is specified.
Default: - no file
getDockerFile
in interface DockerImageAssetSource
public 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
public final String getRepositoryName()
DockerImageAssetSource
Specify 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.JsiiSerializable
Copyright © 2022. All rights reserved.