@Stability(value=Stable) @Internal public static final class AssetImageCodeProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AssetImageCodeProps
AssetImageCodePropssoftware.amazon.jsii.JsiiObject.InitializationModeAssetImageCodeProps.Builder, AssetImageCodeProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(AssetImageCodeProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
AssetImageCodeProps.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()
Build args to pass to the `docker build` command.
|
List<String> |
getCmd()
Specify or override the CMD on the specified Docker image or Dockerfile.
|
List<String> |
getEntrypoint()
Specify or override the ENTRYPOINT on the specified Docker image or Dockerfile.
|
List<String> |
getExclude()
File paths matching the patterns will be excluded.
|
String |
getExtraHash()
Extra information to encode into the fingerprint (e.g.
|
String |
getFile()
Path to the Dockerfile (relative to the directory).
|
SymlinkFollowMode |
getFollowSymlinks()
A strategy for how to handle symlinks.
|
IgnoreMode |
getIgnoreMode()
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.
|
String |
getTarget()
Docker target to build to.
|
String |
getWorkingDirectory()
Specify or override the WORKDIR on the specified Docker image or Dockerfile.
|
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(AssetImageCodeProps.Builder builder)
AssetImageCodeProps.Builder.public final List<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 AssetImageCodePropspublic final List<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 AssetImageCodePropspublic final String getWorkingDirectory()
AssetImageCodePropsA 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 AssetImageCodePropspublic 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 Platform getPlatform()
DockerImageAssetOptionsRequires Docker Buildx.
Default: - no platform specified (the current machine architecture will be used)
getPlatform in interface DockerImageAssetOptionspublic final String getTarget()
DockerImageAssetOptionsDefault: - no target
getTarget in interface DockerImageAssetOptionspublic final String getExtraHash()
FileFingerprintOptionsDefault: - hash is only based on source content
getExtraHash in interface FileFingerprintOptionspublic final List<String> getExclude()
FileCopyOptions
See ignoreMode to set the matching behavior.
Has no effect on Assets bundled using the bundling property.
Default: - nothing is excluded
getExclude in interface FileCopyOptionspublic final SymlinkFollowMode getFollowSymlinks()
FileCopyOptionsDefault: SymlinkFollowMode.NEVER
getFollowSymlinks in interface FileCopyOptionspublic final IgnoreMode getIgnoreMode()
FileCopyOptionsDefault: IgnoreMode.GLOB
getIgnoreMode in interface FileCopyOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.