Skip to content

Commit 1b1e131

Browse files
author
AWS
committed
Amazon Elastic Container Registry Update: Add support for Dualstack and Dualstack-with-FIPS Endpoints
1 parent e57928b commit 1b1e131

File tree

3 files changed

+793
-77
lines changed

3 files changed

+793
-77
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 Dualstack and Dualstack-with-FIPS Endpoints"
6+
}

services/ecr/src/main/resources/codegen-resources/endpoint-rule-set.json

Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,56 @@
166166
}
167167
],
168168
"rules": [
169+
{
170+
"conditions": [
171+
{
172+
"fn": "stringEquals",
173+
"argv": [
174+
"aws",
175+
{
176+
"fn": "getAttr",
177+
"argv": [
178+
{
179+
"ref": "PartitionResult"
180+
},
181+
"name"
182+
]
183+
}
184+
]
185+
}
186+
],
187+
"endpoint": {
188+
"url": "https://ecr-fips.{Region}.api.aws",
189+
"properties": {},
190+
"headers": {}
191+
},
192+
"type": "endpoint"
193+
},
194+
{
195+
"conditions": [
196+
{
197+
"fn": "stringEquals",
198+
"argv": [
199+
"aws-us-gov",
200+
{
201+
"fn": "getAttr",
202+
"argv": [
203+
{
204+
"ref": "PartitionResult"
205+
},
206+
"name"
207+
]
208+
}
209+
]
210+
}
211+
],
212+
"endpoint": {
213+
"url": "https://ecr-fips.{Region}.api.aws",
214+
"properties": {},
215+
"headers": {}
216+
},
217+
"type": "endpoint"
218+
},
169219
{
170220
"conditions": [],
171221
"endpoint": {
@@ -320,6 +370,81 @@
320370
}
321371
],
322372
"rules": [
373+
{
374+
"conditions": [
375+
{
376+
"fn": "stringEquals",
377+
"argv": [
378+
"aws",
379+
{
380+
"fn": "getAttr",
381+
"argv": [
382+
{
383+
"ref": "PartitionResult"
384+
},
385+
"name"
386+
]
387+
}
388+
]
389+
}
390+
],
391+
"endpoint": {
392+
"url": "https://ecr.{Region}.api.aws",
393+
"properties": {},
394+
"headers": {}
395+
},
396+
"type": "endpoint"
397+
},
398+
{
399+
"conditions": [
400+
{
401+
"fn": "stringEquals",
402+
"argv": [
403+
"aws-cn",
404+
{
405+
"fn": "getAttr",
406+
"argv": [
407+
{
408+
"ref": "PartitionResult"
409+
},
410+
"name"
411+
]
412+
}
413+
]
414+
}
415+
],
416+
"endpoint": {
417+
"url": "https://ecr.{Region}.api.amazonwebservices.com.cn",
418+
"properties": {},
419+
"headers": {}
420+
},
421+
"type": "endpoint"
422+
},
423+
{
424+
"conditions": [
425+
{
426+
"fn": "stringEquals",
427+
"argv": [
428+
"aws-us-gov",
429+
{
430+
"fn": "getAttr",
431+
"argv": [
432+
{
433+
"ref": "PartitionResult"
434+
},
435+
"name"
436+
]
437+
}
438+
]
439+
}
440+
],
441+
"endpoint": {
442+
"url": "https://ecr.{Region}.api.aws",
443+
"properties": {},
444+
"headers": {}
445+
},
446+
"type": "endpoint"
447+
},
323448
{
324449
"conditions": [],
325450
"endpoint": {

0 commit comments

Comments
 (0)