Repository

class aws_cdk.aws_imagebuilder_alpha.Repository

Bases: object

(experimental) A container repository used to distribute container images in EC2 Image Builder.

Stability:

experimental

ExampleMetadata:

infused

Example:

ecr_repository = ecr.Repository.from_repository_name(self, "ECRRepository", "my-repo")
image_builder_repository = imagebuilder.Repository.from_ecr(ecr_repository)
Stability:

experimental

Attributes

repository_name

(experimental) The name of the container repository where the output container image is stored.

Stability:

experimental

service

(experimental) The service in which the container repository is hosted.

Stability:

experimental

Static Methods

classmethod from_ecr(repository)

(experimental) The ECR repository to use as the target container repository.

Parameters:

repository (IRepository) – The ECR repository to use.

Stability:

experimental

Return type:

Repository