Skip to content

Commit f9e96fe

Browse files
author
AWS
committed
Amazon Elastic Container Registry Update: Add support for Image Tag Mutability Exception feature, allowing repositories to define wildcard-based patterns that override the default image tag mutability settings.
1 parent 3cdd323 commit f9e96fe

File tree

2 files changed

+71
-1
lines changed

2 files changed

+71
-1
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Elastic Container Registry",
4+
"contributor": "",
5+
"description": "Add support for Image Tag Mutability Exception feature, allowing repositories to define wildcard-based patterns that override the default image tag mutability settings."
6+
}

services/ecr/src/main/resources/codegen-resources/service-2.json

Lines changed: 65 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1231,6 +1231,10 @@
12311231
"shape":"ImageTagMutability",
12321232
"documentation":"<p>The tag mutability setting for the repository. If this parameter is omitted, the default setting of <code>MUTABLE</code> will be used which will allow image tags to be overwritten. If <code>IMMUTABLE</code> is specified, all image tags within the repository will be immutable which will prevent them from being overwritten.</p>"
12331233
},
1234+
"imageTagMutabilityExclusionFilters":{
1235+
"shape":"ImageTagMutabilityExclusionFilters",
1236+
"documentation":"<p>Creates a repository creation template with a list of filters that define which image tags can override the default image tag mutability setting.</p>"
1237+
},
12341238
"repositoryPolicy":{
12351239
"shape":"RepositoryPolicyText",
12361240
"documentation":"<p>The repository policy to apply to repositories created using the template. A repository policy is a permissions policy associated with a repository to control access permissions. </p>"
@@ -1282,6 +1286,10 @@
12821286
"shape":"ImageTagMutability",
12831287
"documentation":"<p>The tag mutability setting for the repository. If this parameter is omitted, the default setting of <code>MUTABLE</code> will be used which will allow image tags to be overwritten. If <code>IMMUTABLE</code> is specified, all image tags within the repository will be immutable which will prevent them from being overwritten.</p>"
12841288
},
1289+
"imageTagMutabilityExclusionFilters":{
1290+
"shape":"ImageTagMutabilityExclusionFilters",
1291+
"documentation":"<p>Creates a repository with a list of filters that define which image tags can override the default image tag mutability setting.</p>"
1292+
},
12851293
"imageScanningConfiguration":{
12861294
"shape":"ImageScanningConfiguration",
12871295
"documentation":"<p>The image scanning configuration for the repository. This determines whether images are scanned for known vulnerabilities after being pushed to the repository.</p>"
@@ -2549,9 +2557,45 @@
25492557
"type":"string",
25502558
"enum":[
25512559
"MUTABLE",
2552-
"IMMUTABLE"
2560+
"IMMUTABLE",
2561+
"IMMUTABLE_WITH_EXCLUSION",
2562+
"MUTABLE_WITH_EXCLUSION"
25532563
]
25542564
},
2565+
"ImageTagMutabilityExclusionFilter":{
2566+
"type":"structure",
2567+
"required":[
2568+
"filterType",
2569+
"filter"
2570+
],
2571+
"members":{
2572+
"filterType":{
2573+
"shape":"ImageTagMutabilityExclusionFilterType",
2574+
"documentation":"<p>Specifies the type of filter to use for excluding image tags from the repository's mutability setting.</p>"
2575+
},
2576+
"filter":{
2577+
"shape":"ImageTagMutabilityExclusionFilterValue",
2578+
"documentation":"<p>The value to use when filtering image tags. Must be either a regular expression pattern or a tag prefix value based on the specified filter type.</p>"
2579+
}
2580+
},
2581+
"documentation":"<p>Overrides the default image tag mutability setting of the repository for image tags that match the specified filters.</p>"
2582+
},
2583+
"ImageTagMutabilityExclusionFilterType":{
2584+
"type":"string",
2585+
"enum":["WILDCARD"]
2586+
},
2587+
"ImageTagMutabilityExclusionFilterValue":{
2588+
"type":"string",
2589+
"max":128,
2590+
"min":1,
2591+
"pattern":"^[0-9a-zA-Z._*-]{1,128}$"
2592+
},
2593+
"ImageTagMutabilityExclusionFilters":{
2594+
"type":"list",
2595+
"member":{"shape":"ImageTagMutabilityExclusionFilter"},
2596+
"max":5,
2597+
"min":1
2598+
},
25552599
"ImageTagsList":{
25562600
"type":"list",
25572601
"member":{"shape":"ImageTag"}
@@ -3264,6 +3308,10 @@
32643308
"imageTagMutability":{
32653309
"shape":"ImageTagMutability",
32663310
"documentation":"<p>The tag mutability setting for the repository. If <code>MUTABLE</code> is specified, image tags can be overwritten. If <code>IMMUTABLE</code> is specified, all image tags within the repository will be immutable which will prevent them from being overwritten.</p>"
3311+
},
3312+
"imageTagMutabilityExclusionFilters":{
3313+
"shape":"ImageTagMutabilityExclusionFilters",
3314+
"documentation":"<p>Creates or updates a repository with filters that define which image tags can override the default image tag mutability setting.</p>"
32673315
}
32683316
}
32693317
},
@@ -3281,6 +3329,10 @@
32813329
"imageTagMutability":{
32823330
"shape":"ImageTagMutability",
32833331
"documentation":"<p>The image tag mutability setting for the repository.</p>"
3332+
},
3333+
"imageTagMutabilityExclusionFilters":{
3334+
"shape":"ImageTagMutabilityExclusionFilters",
3335+
"documentation":"<p>Returns a list of filters that were defined for a repository. These filters determine which image tags can override the default image tag mutability setting of the repository.</p>"
32843336
}
32853337
}
32863338
},
@@ -3595,6 +3647,10 @@
35953647
"shape":"ImageTagMutability",
35963648
"documentation":"<p>The tag mutability setting for the repository.</p>"
35973649
},
3650+
"imageTagMutabilityExclusionFilters":{
3651+
"shape":"ImageTagMutabilityExclusionFilters",
3652+
"documentation":"<p>The image tag mutability exclusion filters associated with the repository. These filters specify which image tags can override the repository's default image tag mutability setting.</p>"
3653+
},
35983654
"imageScanningConfiguration":{"shape":"ImageScanningConfiguration"},
35993655
"encryptionConfiguration":{
36003656
"shape":"EncryptionConfiguration",
@@ -3637,6 +3693,10 @@
36373693
"shape":"ImageTagMutability",
36383694
"documentation":"<p>The tag mutability setting for the repository. If this parameter is omitted, the default setting of <code>MUTABLE</code> will be used which will allow image tags to be overwritten. If <code>IMMUTABLE</code> is specified, all image tags within the repository will be immutable which will prevent them from being overwritten.</p>"
36393695
},
3696+
"imageTagMutabilityExclusionFilters":{
3697+
"shape":"ImageTagMutabilityExclusionFilters",
3698+
"documentation":"<p>Defines the image tag mutability exclusion filters to apply when creating repositories from this template. These filters specify which image tags can override the repository's default image tag mutability setting.</p>"
3699+
},
36403700
"repositoryPolicy":{
36413701
"shape":"RepositoryPolicyText",
36423702
"documentation":"<p>The repository policy to apply to repositories created using the template. A repository policy is a permissions policy associated with a repository to control access permissions. </p>"
@@ -4320,6 +4380,10 @@
43204380
"shape":"ImageTagMutability",
43214381
"documentation":"<p>Updates the tag mutability setting for the repository. If this parameter is omitted, the default setting of <code>MUTABLE</code> will be used which will allow image tags to be overwritten. If <code>IMMUTABLE</code> is specified, all image tags within the repository will be immutable which will prevent them from being overwritten.</p>"
43224382
},
4383+
"imageTagMutabilityExclusionFilters":{
4384+
"shape":"ImageTagMutabilityExclusionFilters",
4385+
"documentation":"<p>Updates a repository with filters that define which image tags can override the default image tag mutability setting.</p>"
4386+
},
43234387
"repositoryPolicy":{
43244388
"shape":"RepositoryPolicyText",
43254389
"documentation":"<p>Updates the repository policy created using the template. A repository policy is a permissions policy associated with a repository to control access permissions. </p>"

0 commit comments

Comments
 (0)