Skip to content

Commit 96e2667

Browse files
author
AWS
committed
AWS Outposts Update: Enabled FIPS endpoints for GovCloud (US) regions in SDK.
1 parent 07bcd97 commit 96e2667

File tree

3 files changed

+270
-981
lines changed

3 files changed

+270
-981
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": "AWS Outposts",
4+
"contributor": "",
5+
"description": "Enabled FIPS endpoints for GovCloud (US) regions in SDK."
6+
}

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

Lines changed: 99 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -165,12 +165,18 @@
165165
"rules": [
166166
{
167167
"conditions": [],
168-
"endpoint": {
169-
"url": "https://outposts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
170-
"properties": {},
171-
"headers": {}
172-
},
173-
"type": "endpoint"
168+
"type": "tree",
169+
"rules": [
170+
{
171+
"conditions": [],
172+
"endpoint": {
173+
"url": "https://outposts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
174+
"properties": {},
175+
"headers": {}
176+
},
177+
"type": "endpoint"
178+
}
179+
]
174180
}
175181
]
176182
},
@@ -219,6 +225,31 @@
219225
"conditions": [],
220226
"type": "tree",
221227
"rules": [
228+
{
229+
"conditions": [
230+
{
231+
"fn": "stringEquals",
232+
"argv": [
233+
"aws-us-gov",
234+
{
235+
"fn": "getAttr",
236+
"argv": [
237+
{
238+
"ref": "PartitionResult"
239+
},
240+
"name"
241+
]
242+
}
243+
]
244+
}
245+
],
246+
"endpoint": {
247+
"url": "https://outposts.{Region}.amazonaws.com",
248+
"properties": {},
249+
"headers": {}
250+
},
251+
"type": "endpoint"
252+
},
222253
{
223254
"conditions": [],
224255
"endpoint": {
@@ -275,12 +306,18 @@
275306
"rules": [
276307
{
277308
"conditions": [],
278-
"endpoint": {
279-
"url": "https://outposts.{Region}.{PartitionResult#dualStackDnsSuffix}",
280-
"properties": {},
281-
"headers": {}
282-
},
283-
"type": "endpoint"
309+
"type": "tree",
310+
"rules": [
311+
{
312+
"conditions": [],
313+
"endpoint": {
314+
"url": "https://outposts.{Region}.{PartitionResult#dualStackDnsSuffix}",
315+
"properties": {},
316+
"headers": {}
317+
},
318+
"type": "endpoint"
319+
}
320+
]
284321
}
285322
]
286323
},
@@ -293,12 +330,56 @@
293330
},
294331
{
295332
"conditions": [],
296-
"endpoint": {
297-
"url": "https://outposts.{Region}.{PartitionResult#dnsSuffix}",
298-
"properties": {},
299-
"headers": {}
300-
},
301-
"type": "endpoint"
333+
"type": "tree",
334+
"rules": [
335+
{
336+
"conditions": [
337+
{
338+
"fn": "stringEquals",
339+
"argv": [
340+
{
341+
"ref": "Region"
342+
},
343+
"us-gov-east-1"
344+
]
345+
}
346+
],
347+
"endpoint": {
348+
"url": "https://outposts.us-gov-east-1.amazonaws.com",
349+
"properties": {},
350+
"headers": {}
351+
},
352+
"type": "endpoint"
353+
},
354+
{
355+
"conditions": [
356+
{
357+
"fn": "stringEquals",
358+
"argv": [
359+
{
360+
"ref": "Region"
361+
},
362+
"us-gov-west-1"
363+
]
364+
}
365+
],
366+
"endpoint": {
367+
"url": "https://outposts.us-gov-west-1.amazonaws.com",
368+
"properties": {},
369+
"headers": {}
370+
},
371+
"type": "endpoint"
372+
},
373+
{
374+
"conditions": [],
375+
"endpoint": {
376+
"url": "https://outposts.{Region}.{PartitionResult#dnsSuffix}",
377+
"properties": {},
378+
"headers": {}
379+
},
380+
"type": "endpoint"
381+
}
382+
]
302383
}
303384
]
304385
}

0 commit comments

Comments
 (0)