TagMutability

class aws_cdk.aws_ecr.TagMutability(value)

Bases: Enum

The tag mutability setting for your repository.

ExampleMetadata:

infused

Example:

ecr.Repository(self, "Repo", image_tag_mutability=ecr.TagMutability.IMMUTABLE)

Attributes

IMMUTABLE

all image tags within the repository will be immutable which will prevent them from being overwritten.

MUTABLE

allow image tags to be overwritten.