ECRRepository

A resource for creating an ECR repository. Can be used to store container images.

Like all Resources, this class configures itself across multiple Environments.

Example Usage

1
import launchflow as lf
2
3
ecr_repository = lf.aws.ECRRepository("my-ecr-repository")

initialization

Create a new ECRRepository resource.

Args:

  • name (str): The name of the ECRRepository resource. This must be globally unique.
  • force_delete (bool): Whether to force delete the repository when the environment is deleted. Defaults to True.
  • image_tag_mutability (Literal["MUTABLE", "IMMUTABLE"]): The image tag mutability for the repository. Defaults to "MUTABLE"