Package software.amazon.awscdk
Interface DockerImageAssetLocation
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DockerImageAssetLocation.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-10T13:39:56.809Z")
@Stability(Stable)
public interface DockerImageAssetLocation
extends software.amazon.jsii.JsiiSerializable
The location of the published docker image.
This is where the image can be consumed at runtime.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
DockerImageAssetLocation dockerImageAssetLocation = DockerImageAssetLocation.builder()
.imageUri("imageUri")
.repositoryName("repositoryName")
// the properties below are optional
.imageTag("imageTag")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forDockerImageAssetLocationstatic final classAn implementation forDockerImageAssetLocation -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getImageUri
The URI of the image in Amazon ECR (including a tag). -
getRepositoryName
The name of the ECR repository. -
getImageTag
The tag of the image in Amazon ECR.Default: - the hash of the asset, or the `dockerTagPrefix` concatenated with the asset hash if a `dockerTagPrefix` is specified in the stack synthesizer
-
builder
- Returns:
- a
DockerImageAssetLocation.BuilderofDockerImageAssetLocation
-