@Generated(value="jsii-pacmak/1.3.2 (build 237c474)", date="2020-04-22T03:19:29.813Z") @Stability(value=Stable) public interface DockerImageAssetSource extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
DockerImageAssetSource.Builder
A builder for
DockerImageAssetSource |
static class |
DockerImageAssetSource.Jsii$Proxy
An implementation for
DockerImageAssetSource |
| Modifier and Type | Method and Description |
|---|---|
static DockerImageAssetSource.Builder |
builder() |
String |
getDirectoryName()
The directory where the Dockerfile is stored, must be relative to the cloud assembly root.
|
default Map<String,String> |
getDockerBuildArgs()
Build args to pass to the `docker build` command.
|
default String |
getDockerBuildTarget()
Docker target to build to.
|
default String |
getDockerFile()
Path to the Dockerfile (relative to the directory).
|
default String |
getRepositoryName()
Deprecated.
repository name should be specified at the environment-level and not at the image level
|
String |
getSourceHash()
The hash of the contents of the docker build context.
|
@Stability(value=Stable) @NotNull String getDirectoryName()
@Stability(value=Stable) @NotNull String getSourceHash()
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).
@Stability(value=Stable) @Nullable default Map<String,String> getDockerBuildArgs()
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
@Stability(value=Stable) @Nullable default String getDockerBuildTarget()
Default: - no target
@Stability(value=Stable) @Nullable default String getDockerFile()
Default: - no file
@Stability(value=Deprecated) @Deprecated @Nullable default String getRepositoryName()
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.
@Stability(value=Stable) static DockerImageAssetSource.Builder builder()
DockerImageAssetSource.Builder of DockerImageAssetSourceCopyright © 2020. All rights reserved.