PublicRepositoryReference

class aws_cdk.aws_ecr.PublicRepositoryReference(*, public_repository_arn, repository_name)

Bases: object

A reference to a PublicRepository resource.

Parameters:
  • public_repository_arn (str) – The ARN of the PublicRepository resource.

  • repository_name (str) – The RepositoryName of the PublicRepository resource.

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_ecr as ecr

public_repository_reference = ecr.PublicRepositoryReference(
    public_repository_arn="publicRepositoryArn",
    repository_name="repositoryName"
)

Attributes

public_repository_arn

The ARN of the PublicRepository resource.

repository_name

The RepositoryName of the PublicRepository resource.