Skip to content

Commit bf72122

Browse files
author
AWS
committed
AWS Greengrass Update: Enabled FIPS endpoints for GovCloud (US) regions in SDK.
1 parent d9d6d60 commit bf72122

File tree

3 files changed

+264
-670
lines changed

3 files changed

+264
-670
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Greengrass",
4+
"contributor": "",
5+
"description": "Enabled FIPS endpoints for GovCloud (US) regions in SDK."
6+
}

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

+118-23
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,6 @@
5252
"ref": "Endpoint"
5353
}
5454
]
55-
},
56-
{
57-
"fn": "parseURL",
58-
"argv": [
59-
{
60-
"ref": "Endpoint"
61-
}
62-
],
63-
"assign": "url"
6455
}
6556
],
6657
"type": "tree",
@@ -174,12 +165,18 @@
174165
"rules": [
175166
{
176167
"conditions": [],
177-
"endpoint": {
178-
"url": "https://greengrass-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
179-
"properties": {},
180-
"headers": {}
181-
},
182-
"type": "endpoint"
168+
"type": "tree",
169+
"rules": [
170+
{
171+
"conditions": [],
172+
"endpoint": {
173+
"url": "https://greengrass-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
174+
"properties": {},
175+
"headers": {}
176+
},
177+
"type": "endpoint"
178+
}
179+
]
183180
}
184181
]
185182
},
@@ -228,6 +225,44 @@
228225
"conditions": [],
229226
"type": "tree",
230227
"rules": [
228+
{
229+
"conditions": [
230+
{
231+
"fn": "stringEquals",
232+
"argv": [
233+
{
234+
"ref": "Region"
235+
},
236+
"us-gov-east-1"
237+
]
238+
}
239+
],
240+
"endpoint": {
241+
"url": "https://greengrass.us-gov-east-1.amazonaws.com",
242+
"properties": {},
243+
"headers": {}
244+
},
245+
"type": "endpoint"
246+
},
247+
{
248+
"conditions": [
249+
{
250+
"fn": "stringEquals",
251+
"argv": [
252+
{
253+
"ref": "Region"
254+
},
255+
"us-gov-west-1"
256+
]
257+
}
258+
],
259+
"endpoint": {
260+
"url": "https://greengrass.us-gov-west-1.amazonaws.com",
261+
"properties": {},
262+
"headers": {}
263+
},
264+
"type": "endpoint"
265+
},
231266
{
232267
"conditions": [],
233268
"endpoint": {
@@ -284,12 +319,18 @@
284319
"rules": [
285320
{
286321
"conditions": [],
287-
"endpoint": {
288-
"url": "https://greengrass.{Region}.{PartitionResult#dualStackDnsSuffix}",
289-
"properties": {},
290-
"headers": {}
291-
},
292-
"type": "endpoint"
322+
"type": "tree",
323+
"rules": [
324+
{
325+
"conditions": [],
326+
"endpoint": {
327+
"url": "https://greengrass.{Region}.{PartitionResult#dualStackDnsSuffix}",
328+
"properties": {},
329+
"headers": {}
330+
},
331+
"type": "endpoint"
332+
}
333+
]
293334
}
294335
]
295336
},
@@ -304,6 +345,33 @@
304345
"conditions": [],
305346
"type": "tree",
306347
"rules": [
348+
{
349+
"conditions": [
350+
{
351+
"fn": "stringEquals",
352+
"argv": [
353+
{
354+
"ref": "Region"
355+
},
356+
"dataplane-us-gov-east-1"
357+
]
358+
}
359+
],
360+
"endpoint": {
361+
"url": "https://greengrass-ats.iot.us-gov-east-1.amazonaws.com",
362+
"properties": {
363+
"authSchemes": [
364+
{
365+
"name": "sigv4",
366+
"signingRegion": "us-gov-east-1",
367+
"signingName": "greengrass"
368+
}
369+
]
370+
},
371+
"headers": {}
372+
},
373+
"type": "endpoint"
374+
},
307375
{
308376
"conditions": [
309377
{
@@ -318,6 +386,33 @@
318386
],
319387
"endpoint": {
320388
"url": "https://greengrass-ats.iot.us-gov-west-1.amazonaws.com",
389+
"properties": {
390+
"authSchemes": [
391+
{
392+
"name": "sigv4",
393+
"signingRegion": "us-gov-west-1",
394+
"signingName": "greengrass"
395+
}
396+
]
397+
},
398+
"headers": {}
399+
},
400+
"type": "endpoint"
401+
},
402+
{
403+
"conditions": [
404+
{
405+
"fn": "stringEquals",
406+
"argv": [
407+
{
408+
"ref": "Region"
409+
},
410+
"us-gov-east-1"
411+
]
412+
}
413+
],
414+
"endpoint": {
415+
"url": "https://greengrass.us-gov-east-1.amazonaws.com",
321416
"properties": {},
322417
"headers": {}
323418
},
@@ -331,12 +426,12 @@
331426
{
332427
"ref": "Region"
333428
},
334-
"dataplane-us-gov-east-1"
429+
"us-gov-west-1"
335430
]
336431
}
337432
],
338433
"endpoint": {
339-
"url": "https://greengrass-ats.iot.us-gov-east-1.amazonaws.com",
434+
"url": "https://greengrass.us-gov-west-1.amazonaws.com",
340435
"properties": {},
341436
"headers": {}
342437
},

0 commit comments

Comments
 (0)