# DockerImageAssetLocation

The location of the published docker image.

This is where the image can be
consumed at runtime.

- Source: [`core/lib/assets.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/core/lib/assets.ts#L417)
- Type last changed: v2.39.0 · 25 Aug 2022

## 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

- `imageTag`: 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

- `imageUri`: string (required) — The URI of the image in Amazon ECR (including a tag).

- `repositoryName`: string (required) — The name of the ECR repository.
