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.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 StringUnique identifier of the docker image asset and its potential revisions.final StringThe directory where the Dockerfile is stored, must be relative to the cloud assembly root.final StringA display name for this asset.Build args to pass to thedocker buildcommand.Build secrets to pass to thedocker buildcommand.final StringSSH agent socket or keys to pass to thedocker buildxcommand.final StringDocker target to build to.final BooleanDisable the cache and pass--no-cacheto thedocker buildcommand.final List<DockerCacheOption> Cache from options to pass to thedocker buildcommand.final DockerCacheOptionCache to options to pass to thedocker buildcommand.final StringPath to the Dockerfile (relative to the directory).Outputs to pass to thedocker buildcommand.An external command that will produce the packaged asset.final StringNetworking mode for the RUN commands during build.final StringPlatform to build for.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
-
getAssetName
Description copied from interface:DockerImageAssetSourceUnique identifier of the docker image asset and its potential revisions.Required if using AppScopedStagingSynthesizer.
Default: - no asset name
- Specified by:
getAssetNamein 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
-
getDisplayName
Description copied from interface:DockerImageAssetSourceA display name for this asset.If supplied, the display name will be used in locations where the asset identifier is printed, like in the CLI progress information.
Default: - The asset hash is used to display the asset
- Specified by:
getDisplayNamein 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
-
getDockerBuildSecrets
Description copied from interface:DockerImageAssetSourceBuild secrets to pass to thedocker buildcommand.Since Docker build secrets 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 secrets are passed
- Specified by:
getDockerBuildSecretsin interfaceDockerImageAssetSource
-
getDockerBuildSsh
Description copied from interface:DockerImageAssetSourceSSH agent socket or keys to pass to thedocker buildxcommand.Default: - no ssh arg is passed
- Specified by:
getDockerBuildSshin interfaceDockerImageAssetSource
-
getDockerBuildTarget
Description copied from interface:DockerImageAssetSourceDocker target to build to.Only allowed when
directoryNameis specified.Default: - no target
- Specified by:
getDockerBuildTargetin interfaceDockerImageAssetSource
-
getDockerCacheDisabled
Description copied from interface:DockerImageAssetSourceDisable the cache and pass--no-cacheto thedocker buildcommand.Default: - cache is used
- Specified by:
getDockerCacheDisabledin interfaceDockerImageAssetSource
-
getDockerCacheFrom
Description copied from interface:DockerImageAssetSourceCache from options to pass to thedocker buildcommand.Default: - no cache from args are passed
- Specified by:
getDockerCacheFromin interfaceDockerImageAssetSource
-
getDockerCacheTo
Description copied from interface:DockerImageAssetSourceCache to options to pass to thedocker buildcommand.Default: - no cache to args are passed
- Specified by:
getDockerCacheToin 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
-
getDockerOutputs
Description copied from interface:DockerImageAssetSourceOutputs to pass to thedocker buildcommand.Default: - no build args are passed
- Specified by:
getDockerOutputsin 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
-
$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()
-