Class AssetImageCodeProps.Jsii$Proxy
- All Implemented Interfaces:
CopyOptions
,FingerprintOptions
,FileCopyOptions
,FileFingerprintOptions
,DockerImageAssetOptions
,AssetImageCodeProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
AssetImageCodeProps
AssetImageCodeProps
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.lambda.AssetImageCodeProps
AssetImageCodeProps.Builder, AssetImageCodeProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(AssetImageCodeProps.Builder builder) Constructor that initializes the object based on literal property values passed by theAssetImageCodeProps.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
Build args to pass to thedocker build
command.getCmd()
Specify or override the CMD on the specified Docker image or Dockerfile.Specify or override the ENTRYPOINT on the specified Docker image or Dockerfile.(deprecated) Glob patterns to exclude from the copy.final String
(deprecated) Extra information to encode into the fingerprint (e.g.final String
getFile()
Path to the Dockerfile (relative to the directory).final FollowMode
(deprecated) A strategy for how to handle symlinks.final SymlinkFollowMode
A strategy for how to handle symlinks.final IgnoreMode
(deprecated) The ignore behavior to use for exclude patterns.Options to control which parameters are used to invalidate the asset hash.final NetworkMode
Networking mode for the RUN commands during build.final Platform
Platform to build for.final String
(deprecated) ECR repository name.final String
Docker target to build to.final String
Specify or override the WORKDIR on the specified Docker image or Dockerfile.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theAssetImageCodeProps.Builder
.
-
-
Method Details
-
getCmd
Description copied from interface:AssetImageCodeProps
Specify or override the CMD on the specified Docker image or Dockerfile.This needs to be in the 'exec form', viz.,
[ 'executable', 'param1', 'param2' ]
.Default: - use the CMD specified in the docker image or Dockerfile.
- Specified by:
getCmd
in interfaceAssetImageCodeProps
- See Also:
-
getEntrypoint
Description copied from interface:AssetImageCodeProps
Specify or override the ENTRYPOINT on the specified Docker image or Dockerfile.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.
- Specified by:
getEntrypoint
in interfaceAssetImageCodeProps
- See Also:
-
getWorkingDirectory
Description copied from interface:AssetImageCodeProps
Specify or override the WORKDIR on the specified Docker image or Dockerfile.A WORKDIR allows you to configure the working directory the container will use.
Default: - use the WORKDIR in the docker image or Dockerfile.
- Specified by:
getWorkingDirectory
in interfaceAssetImageCodeProps
- See Also:
-
getBuildArgs
Description copied from interface:DockerImageAssetOptions
Build args to pass to thedocker build
command.Since Docker build arguments are resolved before deployment, keys and values cannot refer to unresolved tokens (such as
lambda.functionArn
orqueue.queueUrl
).Default: - no build args are passed
- Specified by:
getBuildArgs
in interfaceDockerImageAssetOptions
-
getFile
Description copied from interface:DockerImageAssetOptions
Path to the Dockerfile (relative to the directory).Default: 'Dockerfile'
- Specified by:
getFile
in interfaceDockerImageAssetOptions
-
getInvalidation
Description copied from interface:DockerImageAssetOptions
Options to control which parameters are used to invalidate the asset hash.Default: - hash all parameters
- Specified by:
getInvalidation
in interfaceDockerImageAssetOptions
-
getNetworkMode
Description copied from interface:DockerImageAssetOptions
Networking mode for the RUN commands during build.Support docker API 1.25+.
Default: - no networking mode specified (the default networking mode `NetworkMode.DEFAULT` will be used)
- Specified by:
getNetworkMode
in interfaceDockerImageAssetOptions
-
getPlatform
Description copied from interface:DockerImageAssetOptions
Platform to build for.Requires Docker Buildx.
Default: - no platform specified (the current machine architecture will be used)
- Specified by:
getPlatform
in interfaceDockerImageAssetOptions
-
getRepositoryName
Description copied from interface:DockerImageAssetOptions
(deprecated) ECR repository name.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
- Specified by:
getRepositoryName
in interfaceDockerImageAssetOptions
-
getTarget
Description copied from interface:DockerImageAssetOptions
Docker target to build to.Default: - no target
- Specified by:
getTarget
in interfaceDockerImageAssetOptions
-
getExtraHash
Description copied from interface:DockerImageAssetOptions
(deprecated) Extra information to encode into the fingerprint (e.g. build instructions and other inputs).Default: - hash is only based on source content
- Specified by:
getExtraHash
in interfaceDockerImageAssetOptions
- Specified by:
getExtraHash
in interfaceFileFingerprintOptions
- Specified by:
getExtraHash
in interfaceFingerprintOptions
-
getExclude
Description copied from interface:DockerImageAssetOptions
(deprecated) Glob patterns to exclude from the copy.Default: nothing is excluded
- Specified by:
getExclude
in interfaceCopyOptions
- Specified by:
getExclude
in interfaceDockerImageAssetOptions
- Specified by:
getExclude
in interfaceFileCopyOptions
-
getFollow
Description copied from interface:CopyOptions
(deprecated) A strategy for how to handle symlinks.Default: Never
- Specified by:
getFollow
in interfaceCopyOptions
-
getIgnoreMode
Description copied from interface:DockerImageAssetOptions
(deprecated) The ignore behavior to use for exclude patterns.Default: - GLOB for file assets, DOCKER or GLOB for docker assets depending on whether the '
- Specified by:
getIgnoreMode
in interfaceCopyOptions
- Specified by:
getIgnoreMode
in interfaceDockerImageAssetOptions
- Specified by:
getIgnoreMode
in interfaceFileCopyOptions
-
getFollowSymlinks
Description copied from interface:FileCopyOptions
A strategy for how to handle symlinks.Default: SymlinkFollowMode.NEVER
- Specified by:
getFollowSymlinks
in interfaceFileCopyOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-