RepositoryReference
- class aws_cdk.aws_ecr.RepositoryReference(*, repository_arn, repository_name)
Bases:
object
A reference to a Repository resource.
- Parameters:
repository_arn (
str
) – The ARN of the Repository resource.repository_name (
str
) – The RepositoryName of the Repository 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 repository_reference = ecr.RepositoryReference( repository_arn="repositoryArn", repository_name="repositoryName" )
Attributes
- repository_arn
The ARN of the Repository resource.
- repository_name
The RepositoryName of the Repository resource.