enum TagMutability
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.ECR.TagMutability |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsecr#TagMutability |
Java | software.amazon.awscdk.services.ecr.TagMutability |
Python | aws_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
Name | Description |
---|---|
MUTABLE | allow image tags to be overwritten. |
IMMUTABLE | all 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.