Class DockerImageAssetSource.Jsii$Proxy
- All Implemented Interfaces:
DockerImageAssetSource
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- DockerImageAssetSource
DockerImageAssetSource
-
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.core.DockerImageAssetSource
DockerImageAssetSource.Builder, DockerImageAssetSource.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(DockerImageAssetSource.Builder builder) Constructor that initializes the object based on literal property values passed by theDockerImageAssetSource.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
final String
The directory where the Dockerfile is stored, must be relative to the cloud assembly root.Build args to pass to thedocker build
command.final String
Docker target to build to.final String
Path to the Dockerfile (relative to the directory).An external command that will produce the packaged asset.final String
Networking mode for the RUN commands during build.final String
Platform to build for.final String
(deprecated) ECR repository name.final String
The hash of the contents of the docker build context.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 theDockerImageAssetSource.Builder
.
-
-
Method Details
-
getSourceHash
Description copied from interface:DockerImageAssetSource
The hash of the contents of the docker build context.This hash is used throughout the system to identify this image and avoid duplicate work in case the source did not change.
NOTE: this means that if you wish to update your docker image, you must make a modification to the source (e.g. add some metadata to your Dockerfile).
- Specified by:
getSourceHash
in interfaceDockerImageAssetSource
-
getDirectoryName
Description copied from interface:DockerImageAssetSource
The directory where the Dockerfile is stored, must be relative to the cloud assembly root.Default: - Exactly one of `directoryName` and `executable` is required
- Specified by:
getDirectoryName
in interfaceDockerImageAssetSource
-
getDockerBuildArgs
Description copied from interface:DockerImageAssetSource
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
).Only allowed when
directoryName
is specified.Default: - no build args are passed
- Specified by:
getDockerBuildArgs
in interfaceDockerImageAssetSource
-
getDockerBuildTarget
Description copied from interface:DockerImageAssetSource
Docker target to build to.Only allowed when
directoryName
is specified.Default: - no target
- Specified by:
getDockerBuildTarget
in interfaceDockerImageAssetSource
-
getDockerFile
Description copied from interface:DockerImageAssetSource
Path to the Dockerfile (relative to the directory).Only allowed when
directoryName
is specified.Default: - no file
- Specified by:
getDockerFile
in interfaceDockerImageAssetSource
-
getExecutable
Description copied from interface:DockerImageAssetSource
An external command that will produce the packaged asset.The command should produce the name of a local Docker image on
stdout
.Default: - Exactly one of `directoryName` and `executable` is required
- Specified by:
getExecutable
in interfaceDockerImageAssetSource
-
getNetworkMode
Description copied from interface:DockerImageAssetSource
Networking mode for the RUN commands during build. Requires Docker Engine API v1.25+.Specify this property to build images on a specific networking mode.
Default: - no networking mode specified
- Specified by:
getNetworkMode
in interfaceDockerImageAssetSource
-
getPlatform
Description copied from interface:DockerImageAssetSource
Platform to build for. Requires Docker Buildx.Specify this property to build images on a specific platform.
Default: - no platform specified (the current machine architecture will be used)
- Specified by:
getPlatform
in interfaceDockerImageAssetSource
-
getRepositoryName
Description copied from interface:DockerImageAssetSource
(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: - automatically derived from the asset's ID.
- Specified by:
getRepositoryName
in interfaceDockerImageAssetSource
-
$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()
-