public static final class AssetImageCodeProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AssetImageCodeProps
AssetImageCodeProps
AssetImageCodeProps.Builder, AssetImageCodeProps.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.util.List<java.lang.String> |
getCmd()
Specify or override the CMD on the specified Docker image or Dockerfile.
|
java.util.List<java.lang.String> |
getEntrypoint()
Specify or override the ENTRYPOINT on the specified Docker image or Dockerfile.
|
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.
|
java.lang.String |
getWorkingDirectory()
Specify or override the WORKDIR on the specified Docker image or Dockerfile.
|
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.util.List<java.lang.String> getCmd()
AssetImageCodeProps
This needs to be in the 'exec form', viz., [ 'executable', 'param1', 'param2' ]
.
Default: - use the CMD specified in the docker image or Dockerfile.
getCmd
in interface AssetImageCodeProps
public final java.util.List<java.lang.String> getEntrypoint()
AssetImageCodeProps
An ENTRYPOINT allows you to configure a container that will run as an executable.
This needs to be in the 'exec form', viz., [ 'executable', 'param1', 'param2' ]
.
Default: - use the ENTRYPOINT in the docker image or Dockerfile.
getEntrypoint
in interface AssetImageCodeProps
public final java.lang.String getWorkingDirectory()
AssetImageCodeProps
A WORKDIR allows you to configure the working directory the container will use.
Default: - use the WORKDIR in the docker image or Dockerfile.
getWorkingDirectory
in interface AssetImageCodeProps
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()