aws-cdk-lib.aws_ecr.TagMutability

enum TagMutability

LanguageType name
.NETAmazon.CDK.AWS.ECR.TagMutability
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsecr#TagMutability
Javasoftware.amazon.awscdk.services.ecr.TagMutability
Pythonaws_cdk.aws_ecr.TagMutability
TypeScript (source)aws-cdk-lib » aws_ecr » TagMutability

The tag mutability setting for your repository.

Example

new ecr.Repository(this, 'Repo', { imageTagMutability: ecr.TagMutability.IMMUTABLE });

Members

NameDescription
MUTABLEallow image tags to be overwritten.
IMMUTABLEall image tags within the repository will be immutable which will prevent them from being overwritten.

MUTABLE

allow image tags to be overwritten.


IMMUTABLE

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