Class TagMutability
The tag mutability setting for your repository.
Inheritance
System.Object
TagMutability
Namespace: Amazon.CDK.AWS.ECR
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public sealed class TagMutability : Enum
Syntax (vb)
Public NotInheritable Class TagMutability
Inherits
Enum
Remarks
ExampleMetadata: infused
Examples
new Repository(this, "Repo", new RepositoryProps { ImageTagMutability = TagMutability.IMMUTABLE });
Synopsis
Fields
IMMUTABLE | all image tags within the repository will be immutable which will prevent them from being overwritten. |
MUTABLE | allow image tags to be overwritten. |
value__ |
Fields
IMMUTABLE
all image tags within the repository will be immutable which will prevent them from being overwritten.
public const TagMutability IMMUTABLE
Field Value
Type | Description |
---|---|
TagMutability |
MUTABLE
allow image tags to be overwritten.
public const TagMutability MUTABLE
Field Value
Type | Description |
---|---|
TagMutability |
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |