public static final class DockerImageAssetProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements DockerImageAssetProps
DockerImageAssetProps
DockerImageAssetProps.Builder, DockerImageAssetProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
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(java.lang.Object o) |
java.util.Map<java.lang.String,java.lang.String> |
getBuildArgs()
Build args to pass to the `docker build` command.
|
java.lang.String |
getDirectory()
The directory where the Dockerfile is stored.
|
java.util.List<java.lang.String> |
getExclude()
(deprecated) Glob patterns to exclude from the copy.
|
java.lang.String |
getExtraHash()
(deprecated) Extra information to encode into the fingerprint (e.g.
|
java.lang.String |
getFile()
Path to the Dockerfile (relative to the directory).
|
FollowMode |
getFollow()
(deprecated) A strategy for how to handle symlinks.
|
SymlinkFollowMode |
getFollowSymlinks()
A strategy for how to handle symlinks.
|
IgnoreMode |
getIgnoreMode()
(deprecated) The ignore behavior to use for exclude patterns.
|
DockerImageAssetInvalidationOptions |
getInvalidation()
Options to control which parameters are used to invalidate the asset hash.
|
NetworkMode |
getNetworkMode()
Networking mode for the RUN commands during build.
|
Platform |
getPlatform()
Platform to build for.
|
java.lang.String |
getRepositoryName()
(deprecated) ECR repository name.
|
java.lang.String |
getTarget()
Docker target to build to.
|
int |
hashCode() |
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.public final java.lang.String getDirectory()
DockerImageAssetProps
Any directory inside with a name that matches the CDK output folder (cdk.out by default) will be excluded from the asset
getDirectory
in interface DockerImageAssetProps
public final java.util.Map<java.lang.String,java.lang.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 DockerImageAssetOptions
public final java.lang.String getFile()
DockerImageAssetOptions
Default: 'Dockerfile'
getFile
in interface DockerImageAssetOptions
public final DockerImageAssetInvalidationOptions getInvalidation()
DockerImageAssetOptions
Default: - hash all parameters
getInvalidation
in interface DockerImageAssetOptions
public final NetworkMode getNetworkMode()
DockerImageAssetOptions
Support docker API 1.25+.
Default: - no networking mode specified (the default networking mode `NetworkMode.DEFAULT` will be used)
getNetworkMode
in interface DockerImageAssetOptions
public final Platform getPlatform()
DockerImageAssetOptions
Requires Docker Buildx.
Default: - no platform specified (the current machine architecture will be used)
getPlatform
in interface DockerImageAssetOptions
public final java.lang.String getRepositoryName()
DockerImageAssetOptions
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
getRepositoryName
in interface DockerImageAssetOptions
public final java.lang.String getTarget()
DockerImageAssetOptions
Default: - no target
getTarget
in interface DockerImageAssetOptions
public final java.lang.String getExtraHash()
DockerImageAssetOptions
Default: - hash is only based on source content
getExtraHash
in interface FingerprintOptions
getExtraHash
in interface FileFingerprintOptions
getExtraHash
in interface DockerImageAssetOptions
public final java.util.List<java.lang.String> getExclude()
DockerImageAssetOptions
Default: nothing is excluded
getExclude
in interface CopyOptions
getExclude
in interface FileCopyOptions
getExclude
in interface DockerImageAssetOptions
public final FollowMode getFollow()
CopyOptions
Default: Never
getFollow
in interface CopyOptions
public final IgnoreMode getIgnoreMode()
DockerImageAssetOptions
Default: - GLOB for file assets, DOCKER or GLOB for docker assets depending on whether the '
getIgnoreMode
in interface CopyOptions
getIgnoreMode
in interface FileCopyOptions
getIgnoreMode
in interface DockerImageAssetOptions
public final SymlinkFollowMode getFollowSymlinks()
FileCopyOptions
Default: SymlinkFollowMode.NEVER
getFollowSymlinks
in interface FileCopyOptions
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()