@Generated(value="jsii-pacmak/1.26.0 (build 7d76e02)", date="2021-03-25T11:29:46.040Z") @Stability(value=Experimental) public interface DockerImageAssetOptions extends software.amazon.jsii.JsiiSerializable, FingerprintOptions
| Modifier and Type | Interface and Description |
|---|---|
static class |
DockerImageAssetOptions.Builder
A builder for
DockerImageAssetOptions |
static class |
DockerImageAssetOptions.Jsii$Proxy
An implementation for
DockerImageAssetOptions |
| Modifier and Type | Method and Description |
|---|---|
static DockerImageAssetOptions.Builder |
builder() |
default Map<String,String> |
getBuildArgs()
(experimental) Build args to pass to the `docker build` command.
|
default String |
getFile()
(experimental) Path to the Dockerfile (relative to the directory).
|
default String |
getRepositoryName()
Deprecated.
to control the location of docker image assets, please override
`Stack.addDockerImageAsset`. this feature will be removed in future
releases.
|
default String |
getTarget()
(experimental) Docker target to build to.
|
getExtraHashgetExclude, getFollow, getIgnoreMode@Stability(value=Experimental) @Nullable default Map<String,String> getBuildArgs()
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=Experimental) @Nullable default String getFile()
Default: 'Dockerfile'
@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: - the default ECR repository for CDK assets
@Stability(value=Experimental) @Nullable default String getTarget()
Default: - no target
@Stability(value=Experimental) static DockerImageAssetOptions.Builder builder()
builder in interface CopyOptionsbuilder in interface FingerprintOptionsDockerImageAssetOptions.Builder of DockerImageAssetOptionsCopyright © 2021. All rights reserved.