EcrSourceVariables

class aws_cdk.aws_codepipeline_actions.EcrSourceVariables(*, image_digest, image_tag, image_uri, registry_id, repository_name)

Bases: object

The CodePipeline variables emitted by the ECR source Action.

Parameters:
  • image_digest (str) – The digest of the current image, in the form ‘:’.

  • image_tag (str) – The Docker tag of the current image.

  • image_uri (str) – The full ECR Docker URI of the current image.

  • registry_id (str) – The identifier of the registry. In ECR, this is usually the ID of the AWS account owning it.

  • repository_name (str) – The physical name of the repository that this action tracks.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_codepipeline_actions as codepipeline_actions

ecr_source_variables = codepipeline_actions.EcrSourceVariables(
    image_digest="imageDigest",
    image_tag="imageTag",
    image_uri="imageUri",
    registry_id="registryId",
    repository_name="repositoryName"
)

Attributes

image_digest

‘.

Type:

The digest of the current image, in the form ‘

image_tag

The Docker tag of the current image.

image_uri

The full ECR Docker URI of the current image.

registry_id

The identifier of the registry.

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

repository_name

The physical name of the repository that this action tracks.