File tree Expand file tree Collapse file tree 3 files changed +57
-13
lines changed
services/ecrpublic/src/main/resources/codegen-resources Expand file tree Collapse file tree 3 files changed +57
-13
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" : " Add support for Dualstack Endpoints"
6
+ }
Original file line number Diff line number Diff line change 270
270
}
271
271
],
272
272
"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
+ },
273
298
{
274
299
"conditions" : [],
275
300
"endpoint" : {
Original file line number Diff line number Diff line change 1
1
{
2
2
"testCases" : [
3
3
{
4
- "documentation" : " For region us-east-1 with FIPS enabled and DualStack enabled " ,
4
+ "documentation" : " For region us-east-1 with FIPS disabled and DualStack disabled " ,
5
5
"expect" : {
6
6
"endpoint" : {
7
- "url" : " https://api.ecr-public-fips .us-east-1.api.aws "
7
+ "url" : " https://api.ecr-public.us-east-1.amazonaws.com "
8
8
}
9
9
},
10
10
"params" : {
11
11
"Region" : " us-east-1" ,
12
- "UseFIPS" : true ,
13
- "UseDualStack" : true
12
+ "UseFIPS" : false ,
13
+ "UseDualStack" : false
14
14
}
15
15
},
16
16
{
17
- "documentation" : " For region us-east-1 with FIPS enabled and DualStack disabled " ,
17
+ "documentation" : " For region us-east-1 with FIPS disabled and DualStack enabled " ,
18
18
"expect" : {
19
19
"endpoint" : {
20
- "url" : " https://api. ecr-public-fips .us-east-1.amazonaws.com "
20
+ "url" : " https://ecr-public.us-east-1.api.aws "
21
21
}
22
22
},
23
23
"params" : {
24
24
"Region" : " us-east-1" ,
25
- "UseFIPS" : true ,
25
+ "UseFIPS" : false ,
26
+ "UseDualStack" : true
27
+ }
28
+ },
29
+ {
30
+ "documentation" : " For region us-west-2 with FIPS disabled and DualStack disabled" ,
31
+ "expect" : {
32
+ "endpoint" : {
33
+ "url" : " https://api.ecr-public.us-west-2.amazonaws.com"
34
+ }
35
+ },
36
+ "params" : {
37
+ "Region" : " us-west-2" ,
38
+ "UseFIPS" : false ,
26
39
"UseDualStack" : false
27
40
}
28
41
},
29
42
{
30
- "documentation" : " For region us-east-1 with FIPS disabled and DualStack enabled" ,
43
+ "documentation" : " For region us-east-1 with FIPS enabled and DualStack enabled" ,
31
44
"expect" : {
32
45
"endpoint" : {
33
- "url" : " https://api.ecr-public.us-east-1.api.aws"
46
+ "url" : " https://api.ecr-public-fips .us-east-1.api.aws"
34
47
}
35
48
},
36
49
"params" : {
37
50
"Region" : " us-east-1" ,
38
- "UseFIPS" : false ,
51
+ "UseFIPS" : true ,
39
52
"UseDualStack" : true
40
53
}
41
54
},
42
55
{
43
- "documentation" : " For region us-east-1 with FIPS disabled and DualStack disabled" ,
56
+ "documentation" : " For region us-east-1 with FIPS enabled and DualStack disabled" ,
44
57
"expect" : {
45
58
"endpoint" : {
46
- "url" : " https://api.ecr-public.us-east-1.amazonaws.com"
59
+ "url" : " https://api.ecr-public-fips .us-east-1.amazonaws.com"
47
60
}
48
61
},
49
62
"params" : {
50
63
"Region" : " us-east-1" ,
51
- "UseFIPS" : false ,
64
+ "UseFIPS" : true ,
52
65
"UseDualStack" : false
53
66
}
54
67
},
You can’t perform that action at this time.
0 commit comments