# EcrSourceVariables

The CodePipeline variables emitted by the ECR source Action.

- Source: [`aws-codepipeline-actions/lib/ecr/source-action.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-codepipeline-actions/lib/ecr/source-action.ts#L14)

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codepipeline_actions as codepipeline_actions } from 'aws-cdk-lib';
const ecrSourceVariables: codepipeline_actions.EcrSourceVariables = {
  imageDigest: 'imageDigest',
  imageTag: 'imageTag',
  imageUri: 'imageUri',
  registryId: 'registryId',
  repositoryName: 'repositoryName',
};
```

## Properties

- `imageDigest`: string (required) — The digest of the current image, in the form '<digest type>:<digest value>'.

- `imageTag`: string (required) — The Docker tag of the current image.

- `imageUri`: string (required) — The full ECR Docker URI of the current image.

- `registryId`: string (required) — The identifier of the registry.

  In ECR, this is usually the ID of the AWS account owning it.

- `repositoryName`: string (required) — The physical name of the repository that this action tracks.
