@Stability(value=Experimental) public static final class DockerImageAsset.Builder extends Object implements software.amazon.jsii.Builder<DockerImageAsset>
DockerImageAsset.| Modifier and Type | Method and Description |
|---|---|
DockerImageAsset |
build() |
DockerImageAsset.Builder |
buildArgs(Map<String,String> buildArgs)
(experimental) Build args to pass to the `docker build` command.
|
static DockerImageAsset.Builder |
create(software.constructs.Construct scope,
String id) |
DockerImageAsset.Builder |
directory(String directory)
(experimental) The directory where the Dockerfile is stored.
|
DockerImageAsset.Builder |
exclude(List<String> exclude)
(experimental) Glob patterns to exclude from the copy.
|
DockerImageAsset.Builder |
extraHash(String extraHash)
(experimental) Extra information to encode into the fingerprint (e.g.
|
DockerImageAsset.Builder |
file(String file)
(experimental) Path to the Dockerfile (relative to the directory).
|
DockerImageAsset.Builder |
followSymlinks(SymlinkFollowMode followSymlinks)
(experimental) A strategy for how to handle symlinks.
|
DockerImageAsset.Builder |
ignoreMode(IgnoreMode ignoreMode)
(experimental) The ignore behavior to use for exclude patterns.
|
DockerImageAsset.Builder |
target(String target)
(experimental) Docker target to build to.
|
@Stability(value=Experimental) public static DockerImageAsset.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.DockerImageAsset.Builder.@Stability(value=Experimental) public DockerImageAsset.Builder exclude(List<String> exclude)
Default: - nothing is excluded
exclude - Glob patterns to exclude from the copy. This parameter is required.this@Stability(value=Experimental) public DockerImageAsset.Builder followSymlinks(SymlinkFollowMode followSymlinks)
Default: SymlinkFollowMode.NEVER
followSymlinks - A strategy for how to handle symlinks. This parameter is required.this@Stability(value=Experimental) public DockerImageAsset.Builder ignoreMode(IgnoreMode ignoreMode)
Default: IgnoreMode.GLOB
ignoreMode - The ignore behavior to use for exclude patterns. This parameter is required.this@Stability(value=Experimental) public DockerImageAsset.Builder extraHash(String extraHash)
Default: - hash is only based on source content
extraHash - Extra information to encode into the fingerprint (e.g. build instructions and other inputs). This parameter is required.this@Stability(value=Experimental) public DockerImageAsset.Builder buildArgs(Map<String,String> buildArgs)
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
buildArgs - Build args to pass to the `docker build` command. This parameter is required.this@Stability(value=Experimental) public DockerImageAsset.Builder file(String file)
Default: 'Dockerfile'
file - Path to the Dockerfile (relative to the directory). This parameter is required.this@Stability(value=Experimental) public DockerImageAsset.Builder target(String target)
Default: - no target
target - Docker target to build to. This parameter is required.this@Stability(value=Experimental) public DockerImageAsset.Builder directory(String directory)
directory - The directory where the Dockerfile is stored. This parameter is required.this@Stability(value=Experimental) public DockerImageAsset build()
build in interface software.amazon.jsii.Builder<DockerImageAsset>Copyright © 2021. All rights reserved.