Interface ContainerImageAssetMetadataEntry
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ContainerImageAssetMetadataEntry.Jsii$Proxy
Example:
Map<String, String> entry = Map.of(
"packaging", "container-image",
"repositoryName", "repository-name",
"imageTag", "tag");
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forContainerImageAssetMetadataEntrystatic final classAn implementation forContainerImageAssetMetadataEntry -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Build args to pass to thedocker buildcommand.Build secrets to pass to thedocker buildcommand.default StringSSH agent socket or keys to pass to thedocker buildcommand.default BooleanDisable the cache and pass--no-cacheto thedocker buildcommand.default List<ContainerImageAssetCacheOption> Cache from options to pass to thedocker buildcommand.default ContainerImageAssetCacheOptionCache to options to pass to thedocker buildcommand.default StringgetFile()Path to the Dockerfile (relative to the directory).getId()Logical identifier for the asset.default StringThe docker image tag to use for tagging pushed images.default StringNetworking mode for the RUN commands during build.Outputs to pass to thedocker buildcommand.Type of asset.getPath()Path on disk to the asset.default StringPlatform to build for.default StringECR repository name, if omitted a default name based on the asset's ID is used instead.The hash of the asset source.default StringDocker target to build to.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getId
Logical identifier for the asset. -
getPackaging
Type of asset. -
getPath
Path on disk to the asset. -
getSourceHash
The hash of the asset source. -
getBuildArgs
Build args to pass to thedocker buildcommand.Default: no build args are passed
-
getBuildSecrets
Build secrets to pass to thedocker buildcommand.Default: no build secrets are passed
-
getBuildSsh
SSH agent socket or keys to pass to thedocker buildcommand.Default: no ssh arg is passed
-
getCacheDisabled
Disable the cache and pass--no-cacheto thedocker buildcommand.Default: - cache is used
-
getCacheFrom
Cache from options to pass to thedocker buildcommand.Default: - no cache from options are passed to the build command
- See Also:
-
getCacheTo
Cache to options to pass to thedocker buildcommand.Default: - no cache to options are passed to the build command
- See Also:
-
getFile
Path to the Dockerfile (relative to the directory).Default: - no file is passed
-
getImageTag
The docker image tag to use for tagging pushed images.This field is required if
imageParameterNameis ommited (otherwise, the app won't be able to find the image).Default: - this parameter is REQUIRED after 1.21.0
-
getNetworkMode
Networking mode for the RUN commands during build.Default: - no networking mode specified
-
getOutputs
Outputs to pass to thedocker buildcommand.Default: - no outputs are passed to the build command (default outputs are used)
- See Also:
-
getPlatform
Platform to build for.Requires Docker Buildx.
Default: - current machine platform
-
getRepositoryName
ECR repository name, if omitted a default name based on the asset's ID is used instead.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: - this parameter is REQUIRED after 1.21.0
-
getTarget
Docker target to build to.Default: no build target
-
builder
-