You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This property allows setting tag mutability on ECR repositoes. Tag mutability is useful to ensure image integrity and can prevent supply chain attacks.
Closes#4640
----
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
This user can then proceed to login to the registry using one of the [authentication methods](https://docs.aws.amazon.com/AmazonECR/latest/public/public-registries.html#public-registry-auth).
76
76
77
+
### Image tag immutability
78
+
79
+
You can set tag immutability on images in our repository using the `imageTagMutability` construct prop.
* The tag mutability setting for the repository. If this parameter is omitted, the default setting of MUTABLE will be used which will allow image tags to be overwritten.
360
+
*
361
+
* @default TagMutability.MUTABLE
362
+
*/
363
+
readonlyimageTagMutability?: TagMutability;
357
364
}
358
365
359
366
exportinterfaceRepositoryAttributes{
@@ -452,6 +459,7 @@ export class Repository extends RepositoryBase {
0 commit comments