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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.DockerImageAssetSource
DockerImageAssetSource.Builder, DockerImageAssetSource.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(DockerImageAssetSource.Builder builder) Constructor that initializes the object based on literal property values passed by theDockerImageAssetSource.Builder.protectedJsii$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.JsonNodefinal booleanfinal StringThe directory where the Dockerfile is stored, must be relative to the cloud assembly root.Build args to pass to thedocker buildcommand.final StringDocker target to build to.final StringPath to the Dockerfile (relative to the directory).An external command that will produce the packaged asset.final StringNetworking mode for the RUN commands during build.final StringPlatform to build for.final String(deprecated) ECR repository name.final StringThe hash of the contents of the docker build context.final inthashCode()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:DockerImageAssetSourceThe 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:
getSourceHashin interfaceDockerImageAssetSource
-
getDirectoryName
Description copied from interface:DockerImageAssetSourceThe 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:
getDirectoryNamein interfaceDockerImageAssetSource
-
getDockerBuildArgs
Description copied from interface:DockerImageAssetSourceBuild args to pass to thedocker buildcommand.Since Docker build arguments are resolved before deployment, keys and values cannot refer to unresolved tokens (such as
lambda.functionArnorqueue.queueUrl).Only allowed when
directoryNameis specified.Default: - no build args are passed
- Specified by:
getDockerBuildArgsin interfaceDockerImageAssetSource
-
getDockerBuildTarget
Description copied from interface:DockerImageAssetSourceDocker target to build to.Only allowed when
directoryNameis specified.Default: - no target
- Specified by:
getDockerBuildTargetin interfaceDockerImageAssetSource
-
getDockerFile
Description copied from interface:DockerImageAssetSourcePath to the Dockerfile (relative to the directory).Only allowed when
directoryNameis specified.Default: - no file
- Specified by:
getDockerFilein interfaceDockerImageAssetSource
-
getExecutable
Description copied from interface:DockerImageAssetSourceAn 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:
getExecutablein interfaceDockerImageAssetSource
-
getNetworkMode
Description copied from interface:DockerImageAssetSourceNetworking 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:
getNetworkModein interfaceDockerImageAssetSource
-
getPlatform
Description copied from interface:DockerImageAssetSourcePlatform 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:
getPlatformin 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:
getRepositoryNamein interfaceDockerImageAssetSource
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-