File tree Expand file tree Collapse file tree 3 files changed +19
-51
lines changed
services/ecrpublic/src/main/resources/codegen-resources Expand file tree Collapse file tree 3 files changed +19
-51
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "type" : " feature" ,
3+ "category" : " Amazon Elastic Container Registry Public" ,
4+ "contributor" : " " ,
5+ "description" : " Temporarily updating dualstack endpoint support"
6+ }
Original file line number Diff line number Diff line change 270270 }
271271 ],
272272 "rules" : [
273- {
274- "conditions" : [
275- {
276- "fn" : " stringEquals" ,
277- "argv" : [
278- " aws" ,
279- {
280- "fn" : " getAttr" ,
281- "argv" : [
282- {
283- "ref" : " PartitionResult"
284- },
285- " name"
286- ]
287- }
288- ]
289- }
290- ],
291- "endpoint" : {
292- "url" : " https://ecr-public.{Region}.api.aws" ,
293- "properties" : {},
294- "headers" : {}
295- },
296- "type" : " endpoint"
297- },
298273 {
299274 "conditions" : [],
300275 "endpoint" : {
Original file line number Diff line number Diff line change 11{
22 "testCases" : [
33 {
4- "documentation" : " For region us-east-1 with FIPS disabled and DualStack disabled" ,
5- "expect" : {
6- "endpoint" : {
7- "url" : " https://api.ecr-public.us-east-1.amazonaws.com"
8- }
9- },
10- "params" : {
11- "Region" : " us-east-1" ,
12- "UseFIPS" : false ,
13- "UseDualStack" : false
14- }
15- },
16- {
17- "documentation" : " For region us-east-1 with FIPS disabled and DualStack enabled" ,
4+ "documentation" : " For region us-east-1 with FIPS enabled and DualStack enabled" ,
185 "expect" : {
196 "endpoint" : {
20- "url" : " https://ecr-public.us-east-1.api.aws"
7+ "url" : " https://api. ecr-public-fips .us-east-1.api.aws"
218 }
229 },
2310 "params" : {
2411 "Region" : " us-east-1" ,
25- "UseFIPS" : false ,
12+ "UseFIPS" : true ,
2613 "UseDualStack" : true
2714 }
2815 },
2916 {
30- "documentation" : " For region us-west-2 with FIPS disabled and DualStack disabled" ,
17+ "documentation" : " For region us-east-1 with FIPS enabled and DualStack disabled" ,
3118 "expect" : {
3219 "endpoint" : {
33- "url" : " https://api.ecr-public.us-west-2 .amazonaws.com"
20+ "url" : " https://api.ecr-public-fips .us-east-1 .amazonaws.com"
3421 }
3522 },
3623 "params" : {
37- "Region" : " us-west-2 " ,
38- "UseFIPS" : false ,
24+ "Region" : " us-east-1 " ,
25+ "UseFIPS" : true ,
3926 "UseDualStack" : false
4027 }
4128 },
4229 {
43- "documentation" : " For region us-east-1 with FIPS enabled and DualStack enabled" ,
30+ "documentation" : " For region us-east-1 with FIPS disabled and DualStack enabled" ,
4431 "expect" : {
4532 "endpoint" : {
46- "url" : " https://api.ecr-public-fips .us-east-1.api.aws"
33+ "url" : " https://api.ecr-public.us-east-1.api.aws"
4734 }
4835 },
4936 "params" : {
5037 "Region" : " us-east-1" ,
51- "UseFIPS" : true ,
38+ "UseFIPS" : false ,
5239 "UseDualStack" : true
5340 }
5441 },
5542 {
56- "documentation" : " For region us-east-1 with FIPS enabled and DualStack disabled" ,
43+ "documentation" : " For region us-east-1 with FIPS disabled and DualStack disabled" ,
5744 "expect" : {
5845 "endpoint" : {
59- "url" : " https://api.ecr-public-fips .us-east-1.amazonaws.com"
46+ "url" : " https://api.ecr-public.us-east-1.amazonaws.com"
6047 }
6148 },
6249 "params" : {
6350 "Region" : " us-east-1" ,
64- "UseFIPS" : true ,
51+ "UseFIPS" : false ,
6552 "UseDualStack" : false
6653 }
6754 },
You can’t perform that action at this time.
0 commit comments