@Stability(value=Experimental) @Internal public static final class DockerImageAssetProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements DockerImageAssetProps
DockerImageAssetPropssoftware.amazon.jsii.JsiiObject.InitializationModeDockerImageAssetProps.Builder, DockerImageAssetProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(DockerImageAssetProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
DockerImageAssetProps.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) |
Map<String,String> |
getBuildArgs()
(experimental) Build args to pass to the `docker build` command.
|
String |
getDirectory()
(experimental) The directory where the Dockerfile is stored.
|
List<String> |
getExclude()
(deprecated) Glob patterns to exclude from the copy.
|
String |
getExtraHash()
(deprecated) Extra information to encode into the fingerprint (e.g.
|
String |
getFile()
(experimental) Path to the Dockerfile (relative to the directory).
|
FollowMode |
getFollow()
(deprecated) A strategy for how to handle symlinks.
|
SymlinkFollowMode |
getFollowSymlinks()
(experimental) A strategy for how to handle symlinks.
|
IgnoreMode |
getIgnoreMode()
(deprecated) The ignore behavior to use for exclude patterns.
|
DockerImageAssetInvalidationOptions |
getInvalidation()
(experimental) Options to control which parameters are used to invalidate the asset hash.
|
NetworkMode |
getNetworkMode()
(experimental) Networking mode for the RUN commands during build.
|
String |
getRepositoryName()
(deprecated) ECR repository name.
|
String |
getTarget()
(experimental) Docker target to build to.
|
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.protected Jsii$Proxy(DockerImageAssetProps.Builder builder)
DockerImageAssetProps.Builder.public final String getDirectory()
DockerImageAssetPropsAny directory inside with a name that matches the CDK output folder (cdk.out by default) will be excluded from the asset
getDirectory in interface DockerImageAssetPropspublic final Map<String,String> getBuildArgs()
DockerImageAssetOptions
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
getBuildArgs in interface DockerImageAssetOptionspublic final String getFile()
DockerImageAssetOptionsDefault: 'Dockerfile'
getFile in interface DockerImageAssetOptionspublic final DockerImageAssetInvalidationOptions getInvalidation()
DockerImageAssetOptionsDefault: - hash all parameters
getInvalidation in interface DockerImageAssetOptionspublic final NetworkMode getNetworkMode()
DockerImageAssetOptionsSupport docker API 1.25+.
Default: - no networking mode specified (the default networking mode `NetworkMode.DEFAULT` will be used)
getNetworkMode in interface DockerImageAssetOptionspublic final String getRepositoryName()
DockerImageAssetOptionsSpecify 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
getRepositoryName in interface DockerImageAssetOptionspublic final String getTarget()
DockerImageAssetOptionsDefault: - no target
getTarget in interface DockerImageAssetOptionspublic final String getExtraHash()
DockerImageAssetOptionsDefault: - hash is only based on source content
getExtraHash in interface FingerprintOptionsgetExtraHash in interface FileFingerprintOptionsgetExtraHash in interface DockerImageAssetOptionspublic final List<String> getExclude()
DockerImageAssetOptionsDefault: nothing is excluded
getExclude in interface CopyOptionsgetExclude in interface FileCopyOptionsgetExclude in interface DockerImageAssetOptionspublic final FollowMode getFollow()
CopyOptionsDefault: Never
getFollow in interface CopyOptionspublic final IgnoreMode getIgnoreMode()
DockerImageAssetOptionsDefault: - GLOB for file assets, DOCKER or GLOB for docker assets depending on whether the '
getIgnoreMode in interface CopyOptionsgetIgnoreMode in interface FileCopyOptionsgetIgnoreMode in interface DockerImageAssetOptionspublic final SymlinkFollowMode getFollowSymlinks()
FileCopyOptionsDefault: SymlinkFollowMode.NEVER
getFollowSymlinks in interface FileCopyOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.