Skip to content
v2.275.0

DockerImageAssetLocation Struct ​

The location of the published docker image.

This is where the image can be consumed at runtime.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
const dockerImageAssetLocation: cdk.DockerImageAssetLocation = {
  imageUri: 'imageUri',
  repositoryName: 'repositoryName',

  // the properties below are optional
  imageTag: 'imageTag',
};

Properties ​

imageTagoptionalstringimage_tagoptionalstrimageTagoptionalStringImageTagoptionalstringImageTagoptional*string#
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

imageUristringimage_uristrimageUriStringImageUristringImageUri*stringrequired#
The URI of the image in Amazon ECR (including a tag).
repositoryNamestringrepository_namestrrepositoryNameStringRepositoryNamestringRepositoryName*stringrequired#
The name of the ECR repository.