1
+ {
2
+ "testCases" : [
3
+ {
4
+ "documentation" : " For region us-gov-east-1 with FIPS enabled and DualStack enabled" ,
5
+ "expect" : {
6
+ "endpoint" : {
7
+ "url" : " https://appfabric-fips.us-gov-east-1.api.aws"
8
+ }
9
+ },
10
+ "params" : {
11
+ "UseFIPS" : true ,
12
+ "Region" : " us-gov-east-1" ,
13
+ "UseDualStack" : true
14
+ }
15
+ },
16
+ {
17
+ "documentation" : " For region us-gov-east-1 with FIPS enabled and DualStack disabled" ,
18
+ "expect" : {
19
+ "endpoint" : {
20
+ "url" : " https://appfabric-fips.us-gov-east-1.amazonaws.com"
21
+ }
22
+ },
23
+ "params" : {
24
+ "UseFIPS" : true ,
25
+ "Region" : " us-gov-east-1" ,
26
+ "UseDualStack" : false
27
+ }
28
+ },
29
+ {
30
+ "documentation" : " For region us-gov-east-1 with FIPS disabled and DualStack enabled" ,
31
+ "expect" : {
32
+ "endpoint" : {
33
+ "url" : " https://appfabric.us-gov-east-1.api.aws"
34
+ }
35
+ },
36
+ "params" : {
37
+ "UseFIPS" : false ,
38
+ "Region" : " us-gov-east-1" ,
39
+ "UseDualStack" : true
40
+ }
41
+ },
42
+ {
43
+ "documentation" : " For region us-gov-east-1 with FIPS disabled and DualStack disabled" ,
44
+ "expect" : {
45
+ "endpoint" : {
46
+ "url" : " https://appfabric.us-gov-east-1.amazonaws.com"
47
+ }
48
+ },
49
+ "params" : {
50
+ "UseFIPS" : false ,
51
+ "Region" : " us-gov-east-1" ,
52
+ "UseDualStack" : false
53
+ }
54
+ },
55
+ {
56
+ "documentation" : " For region cn-north-1 with FIPS enabled and DualStack enabled" ,
57
+ "expect" : {
58
+ "endpoint" : {
59
+ "url" : " https://appfabric-fips.cn-north-1.api.amazonwebservices.com.cn"
60
+ }
61
+ },
62
+ "params" : {
63
+ "UseFIPS" : true ,
64
+ "Region" : " cn-north-1" ,
65
+ "UseDualStack" : true
66
+ }
67
+ },
68
+ {
69
+ "documentation" : " For region cn-north-1 with FIPS enabled and DualStack disabled" ,
70
+ "expect" : {
71
+ "endpoint" : {
72
+ "url" : " https://appfabric-fips.cn-north-1.amazonaws.com.cn"
73
+ }
74
+ },
75
+ "params" : {
76
+ "UseFIPS" : true ,
77
+ "Region" : " cn-north-1" ,
78
+ "UseDualStack" : false
79
+ }
80
+ },
81
+ {
82
+ "documentation" : " For region cn-north-1 with FIPS disabled and DualStack enabled" ,
83
+ "expect" : {
84
+ "endpoint" : {
85
+ "url" : " https://appfabric.cn-north-1.api.amazonwebservices.com.cn"
86
+ }
87
+ },
88
+ "params" : {
89
+ "UseFIPS" : false ,
90
+ "Region" : " cn-north-1" ,
91
+ "UseDualStack" : true
92
+ }
93
+ },
94
+ {
95
+ "documentation" : " For region cn-north-1 with FIPS disabled and DualStack disabled" ,
96
+ "expect" : {
97
+ "endpoint" : {
98
+ "url" : " https://appfabric.cn-north-1.amazonaws.com.cn"
99
+ }
100
+ },
101
+ "params" : {
102
+ "UseFIPS" : false ,
103
+ "Region" : " cn-north-1" ,
104
+ "UseDualStack" : false
105
+ }
106
+ },
107
+ {
108
+ "documentation" : " For region us-iso-east-1 with FIPS enabled and DualStack enabled" ,
109
+ "expect" : {
110
+ "error" : " FIPS and DualStack are enabled, but this partition does not support one or both"
111
+ },
112
+ "params" : {
113
+ "UseFIPS" : true ,
114
+ "Region" : " us-iso-east-1" ,
115
+ "UseDualStack" : true
116
+ }
117
+ },
118
+ {
119
+ "documentation" : " For region us-iso-east-1 with FIPS enabled and DualStack disabled" ,
120
+ "expect" : {
121
+ "endpoint" : {
122
+ "url" : " https://appfabric-fips.us-iso-east-1.c2s.ic.gov"
123
+ }
124
+ },
125
+ "params" : {
126
+ "UseFIPS" : true ,
127
+ "Region" : " us-iso-east-1" ,
128
+ "UseDualStack" : false
129
+ }
130
+ },
131
+ {
132
+ "documentation" : " For region us-iso-east-1 with FIPS disabled and DualStack enabled" ,
133
+ "expect" : {
134
+ "error" : " DualStack is enabled but this partition does not support DualStack"
135
+ },
136
+ "params" : {
137
+ "UseFIPS" : false ,
138
+ "Region" : " us-iso-east-1" ,
139
+ "UseDualStack" : true
140
+ }
141
+ },
142
+ {
143
+ "documentation" : " For region us-iso-east-1 with FIPS disabled and DualStack disabled" ,
144
+ "expect" : {
145
+ "endpoint" : {
146
+ "url" : " https://appfabric.us-iso-east-1.c2s.ic.gov"
147
+ }
148
+ },
149
+ "params" : {
150
+ "UseFIPS" : false ,
151
+ "Region" : " us-iso-east-1" ,
152
+ "UseDualStack" : false
153
+ }
154
+ },
155
+ {
156
+ "documentation" : " For region us-east-1 with FIPS enabled and DualStack enabled" ,
157
+ "expect" : {
158
+ "endpoint" : {
159
+ "url" : " https://appfabric-fips.us-east-1.api.aws"
160
+ }
161
+ },
162
+ "params" : {
163
+ "UseFIPS" : true ,
164
+ "Region" : " us-east-1" ,
165
+ "UseDualStack" : true
166
+ }
167
+ },
168
+ {
169
+ "documentation" : " For region us-east-1 with FIPS enabled and DualStack disabled" ,
170
+ "expect" : {
171
+ "endpoint" : {
172
+ "url" : " https://appfabric-fips.us-east-1.amazonaws.com"
173
+ }
174
+ },
175
+ "params" : {
176
+ "UseFIPS" : true ,
177
+ "Region" : " us-east-1" ,
178
+ "UseDualStack" : false
179
+ }
180
+ },
181
+ {
182
+ "documentation" : " For region us-east-1 with FIPS disabled and DualStack enabled" ,
183
+ "expect" : {
184
+ "endpoint" : {
185
+ "url" : " https://appfabric.us-east-1.api.aws"
186
+ }
187
+ },
188
+ "params" : {
189
+ "UseFIPS" : false ,
190
+ "Region" : " us-east-1" ,
191
+ "UseDualStack" : true
192
+ }
193
+ },
194
+ {
195
+ "documentation" : " For region us-east-1 with FIPS disabled and DualStack disabled" ,
196
+ "expect" : {
197
+ "endpoint" : {
198
+ "url" : " https://appfabric.us-east-1.amazonaws.com"
199
+ }
200
+ },
201
+ "params" : {
202
+ "UseFIPS" : false ,
203
+ "Region" : " us-east-1" ,
204
+ "UseDualStack" : false
205
+ }
206
+ },
207
+ {
208
+ "documentation" : " For region us-isob-east-1 with FIPS enabled and DualStack enabled" ,
209
+ "expect" : {
210
+ "error" : " FIPS and DualStack are enabled, but this partition does not support one or both"
211
+ },
212
+ "params" : {
213
+ "UseFIPS" : true ,
214
+ "Region" : " us-isob-east-1" ,
215
+ "UseDualStack" : true
216
+ }
217
+ },
218
+ {
219
+ "documentation" : " For region us-isob-east-1 with FIPS enabled and DualStack disabled" ,
220
+ "expect" : {
221
+ "endpoint" : {
222
+ "url" : " https://appfabric-fips.us-isob-east-1.sc2s.sgov.gov"
223
+ }
224
+ },
225
+ "params" : {
226
+ "UseFIPS" : true ,
227
+ "Region" : " us-isob-east-1" ,
228
+ "UseDualStack" : false
229
+ }
230
+ },
231
+ {
232
+ "documentation" : " For region us-isob-east-1 with FIPS disabled and DualStack enabled" ,
233
+ "expect" : {
234
+ "error" : " DualStack is enabled but this partition does not support DualStack"
235
+ },
236
+ "params" : {
237
+ "UseFIPS" : false ,
238
+ "Region" : " us-isob-east-1" ,
239
+ "UseDualStack" : true
240
+ }
241
+ },
242
+ {
243
+ "documentation" : " For region us-isob-east-1 with FIPS disabled and DualStack disabled" ,
244
+ "expect" : {
245
+ "endpoint" : {
246
+ "url" : " https://appfabric.us-isob-east-1.sc2s.sgov.gov"
247
+ }
248
+ },
249
+ "params" : {
250
+ "UseFIPS" : false ,
251
+ "Region" : " us-isob-east-1" ,
252
+ "UseDualStack" : false
253
+ }
254
+ },
255
+ {
256
+ "documentation" : " For custom endpoint with fips disabled and dualstack disabled" ,
257
+ "expect" : {
258
+ "endpoint" : {
259
+ "url" : " https://example.com"
260
+ }
261
+ },
262
+ "params" : {
263
+ "UseFIPS" : false ,
264
+ "Region" : " us-east-1" ,
265
+ "UseDualStack" : false ,
266
+ "Endpoint" : " https://example.com"
267
+ }
268
+ },
269
+ {
270
+ "documentation" : " For custom endpoint with fips enabled and dualstack disabled" ,
271
+ "expect" : {
272
+ "error" : " Invalid Configuration: FIPS and custom endpoint are not supported"
273
+ },
274
+ "params" : {
275
+ "UseFIPS" : true ,
276
+ "Region" : " us-east-1" ,
277
+ "UseDualStack" : false ,
278
+ "Endpoint" : " https://example.com"
279
+ }
280
+ },
281
+ {
282
+ "documentation" : " For custom endpoint with fips disabled and dualstack enabled" ,
283
+ "expect" : {
284
+ "error" : " Invalid Configuration: Dualstack and custom endpoint are not supported"
285
+ },
286
+ "params" : {
287
+ "UseFIPS" : false ,
288
+ "Region" : " us-east-1" ,
289
+ "UseDualStack" : true ,
290
+ "Endpoint" : " https://example.com"
291
+ }
292
+ }
293
+ ],
294
+ "version" : " 1.0"
295
+ }
0 commit comments