Interface DockerImageAssetLocation

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
DockerImageAssetLocation.Jsii$Proxy

@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-23T05:56:10.063Z") @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();
 
  • Method Details

    • getImageUri

      @Stability(Stable) @NotNull String getImageUri()
      The URI of the image in Amazon ECR (including a tag).
    • getRepositoryName

      @Stability(Stable) @NotNull String getRepositoryName()
      The name of the ECR repository.
    • getImageTag

      @Stability(Stable) @Nullable default String 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

      @Stability(Stable) static DockerImageAssetLocation.Builder builder()
      Returns:
      a DockerImageAssetLocation.Builder of DockerImageAssetLocation