Skip to content
v2.273.0

EcrSourceVariables Struct ​

The CodePipeline variables emitted by the ECR source Action.

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 ​

imageDigeststringimage_digeststrimageDigestStringImageDigeststringImageDigest*stringrequired#
The digest of the current image, in the form '<digest type>:<digest value>'.
imageTagstringimage_tagstrimageTagStringImageTagstringImageTag*stringrequired#
The Docker tag of the current image.
imageUristringimage_uristrimageUriStringImageUristringImageUri*stringrequired#
The full ECR Docker URI of the current image.
registryIdstringregistry_idstrregistryIdStringRegistryIdstringRegistryId*stringrequired#
The identifier of the registry.

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

repositoryNamestringrepository_namestrrepositoryNameStringRepositoryNamestringRepositoryName*stringrequired#
The physical name of the repository that this action tracks.