-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patharchitecture.drawio
More file actions
416 lines (373 loc) · 44.8 KB
/
architecture.drawio
File metadata and controls
416 lines (373 loc) · 44.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
<mxfile host="Electron" version="29.6.1">
<diagram name="Architecture" id="diagram-1">
<mxGraphModel dx="1900" dy="1100" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1900" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<!-- Title + Subtitle Block -->
<mxCell id="title-group" connectable="0" style="group;fontFamily=Helvetica;" value="" vertex="1" parent="1">
<mxGeometry x="50" y="30" width="1800" height="83" as="geometry" />
</mxCell>
<mxCell id="title-text" style="text;html=1;resizable=1;points=[];autosize=1;align=left;verticalAlign=top;spacingTop=-4;fontSize=30;fontStyle=1;fontFamily=Helvetica;" value="Lambda Powertools Reference — AWS Architecture" vertex="1" parent="title-group">
<mxGeometry width="1200" height="42" as="geometry" />
</mxCell>
<mxCell id="subtitle-text" style="text;html=1;resizable=0;points=[];autosize=1;align=left;verticalAlign=top;spacingTop=-4;fontSize=16;fontFamily=Helvetica;" value="Serverless API + static SPA on AWS, with object-level audit and access-log analytics" vertex="1" parent="title-group">
<mxGeometry x="5" y="40" width="1200" height="25" as="geometry" />
</mxCell>
<mxCell id="title-separator" style="line;strokeWidth=2;html=1;fontSize=14;strokeColor=#FF9900;fontFamily=Helvetica;" value="" vertex="1" parent="title-group">
<mxGeometry x="5" y="70" width="1790" height="10" as="geometry" />
</mxCell>
<!-- Users (external actor) -->
<mxCell id="users-container" style="fillColor=#f5f5f5;strokeColor=light-dark(#666666,#D4D4D4);rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontStyle=1;fontSize=12;fontColor=#333333;fontFamily=Helvetica;container=1;collapsible=0;shadow=1;strokeWidth=1;perimeterSpacing=0;" value="Browser" vertex="1" parent="1">
<mxGeometry x="40" y="380" width="107" height="98" as="geometry" />
</mxCell>
<mxCell id="users-icon" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#232F3D;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.users;fontFamily=Helvetica;" value="" vertex="1" parent="users-container">
<mxGeometry x="30" y="30" width="48" height="48" as="geometry" />
</mxCell>
<!-- AWS Cloud boundary -->
<mxCell id="aws-cloud" value="AWS Cloud — us-east-1" style="points=[[0,0],[0.25,0],[0.5,0],[0.75,0],[1,0],[1,0.25],[1,0.5],[1,0.75],[1,1],[0.75,1],[0.5,1],[0.25,1],[0,1],[0,0.75],[0,0.5],[0,0.25]];outlineConnect=0;gradientColor=none;html=1;whiteSpace=wrap;fontSize=12;fontStyle=0;shape=mxgraph.aws4.group;grIcon=mxgraph.aws4.group_aws_cloud;strokeColor=#232F3E;fillColor=light-dark(#232F3E0D,#232F3E0D);fillStyle=auto;verticalAlign=top;align=left;spacingLeft=30;fontColor=#232F3E;dashed=0;container=1;pointerEvents=0;collapsible=0;recursiveResize=0;fontFamily=Helvetica;" vertex="1" parent="1">
<mxGeometry x="200" y="140" width="940" height="920" as="geometry" />
</mxCell>
<!-- Column header labels (inside AWS Cloud, text-only) -->
<mxCell id="col-1-label" value="<b>Edge &amp; Delivery</b>" style="text;html=1;whiteSpace=wrap;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;fontSize=14;fontStyle=1;fontColor=#8C4FFF;fontFamily=Helvetica;" vertex="1" parent="1">
<mxGeometry x="240" y="172" width="120" height="20" as="geometry" />
</mxCell>
<mxCell id="col-2-label" value="<b>Auth &amp; Telemetry</b>" style="text;html=1;whiteSpace=wrap;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;fontSize=14;fontStyle=1;fontColor=#DD344C;fontFamily=Helvetica;" vertex="1" parent="1">
<mxGeometry x="420" y="172" width="140" height="20" as="geometry" />
</mxCell>
<mxCell id="col-3-label" value="<b>API &amp; Compute</b>" style="text;html=1;whiteSpace=wrap;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;fontSize=14;fontStyle=1;fontColor=#ED7100;fontFamily=Helvetica;" vertex="1" parent="1">
<mxGeometry x="600" y="172" width="120" height="20" as="geometry" />
</mxCell>
<mxCell id="col-4-label" value="<b>State &amp; Config</b>" style="text;html=1;whiteSpace=wrap;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;fontSize=14;fontStyle=1;fontColor=#C925D1;fontFamily=Helvetica;" vertex="1" parent="1">
<mxGeometry x="780" y="172" width="120" height="20" as="geometry" />
</mxCell>
<mxCell id="col-5-label" value="<b>Audit &amp; Analytics</b>" style="text;html=1;whiteSpace=wrap;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;fontSize=14;fontStyle=1;fontColor=#8C4FFF;fontFamily=Helvetica;" vertex="1" parent="1">
<mxGeometry x="960" y="172" width="140" height="20" as="geometry" />
</mxCell>
<!-- Column 1: Edge & Delivery -->
<!-- CloudFront -->
<mxCell id="grp-cloudfront" style="fillColor=#EDE7F6;strokeColor=#8C4FFF;rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontStyle=1;fontSize=12;fontColor=#8C4FFF;fontFamily=Helvetica;container=1;collapsible=0;shadow=1;strokeWidth=1.5;" value="Edge CDN" vertex="1" parent="1">
<mxGeometry x="240" y="200" width="120" height="120" as="geometry" />
</mxCell>
<mxCell id="svc-cloudfront" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#8C4FFF;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=10;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.cloudfront;fontFamily=Helvetica;shadow=1;" value="CloudFront<div><i>OAC to S3, WAF attached</i></div>" vertex="1" parent="grp-cloudfront">
<mxGeometry x="36" y="30" width="48" height="48" as="geometry" />
</mxCell>
<!-- WAF -->
<mxCell id="grp-waf" style="fillColor=#FFEBEE;strokeColor=#DD344C;rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontStyle=1;fontSize=12;fontColor=#DD344C;fontFamily=Helvetica;container=1;collapsible=0;shadow=1;strokeWidth=1.5;" value="Web Firewall" vertex="1" parent="1">
<mxGeometry x="240" y="360" width="120" height="120" as="geometry" />
</mxCell>
<mxCell id="svc-waf" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#DD344C;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=10;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.waf;fontFamily=Helvetica;shadow=1;" value="AWS WAF<div><i>5 managed rule sets</i></div>" vertex="1" parent="grp-waf">
<mxGeometry x="36" y="30" width="48" height="48" as="geometry" />
</mxCell>
<!-- S3 Frontend -->
<mxCell id="grp-s3" style="fillColor=#E8F5E9;strokeColor=#3F8624;rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontStyle=1;fontSize=12;fontColor=#3F8624;fontFamily=Helvetica;container=1;collapsible=0;shadow=1;strokeWidth=1.5;" value="Static Assets" vertex="1" parent="1">
<mxGeometry x="240" y="520" width="120" height="120" as="geometry" />
</mxCell>
<mxCell id="svc-s3" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#3F8624;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=10;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.s3;fontFamily=Helvetica;shadow=1;" value="Amazon S3<div><i>SPA bundle, CMK</i></div>" vertex="1" parent="grp-s3">
<mxGeometry x="36" y="30" width="48" height="48" as="geometry" />
</mxCell>
<!-- Column 2: Auth & Telemetry -->
<!-- Cognito Identity Pool -->
<mxCell id="grp-cognito" style="fillColor=#FFEBEE;strokeColor=#DD344C;rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontStyle=1;fontSize=12;fontColor=#DD344C;fontFamily=Helvetica;container=1;collapsible=0;shadow=1;strokeWidth=1.5;" value="Guest Auth" vertex="1" parent="1">
<mxGeometry x="420" y="200" width="120" height="120" as="geometry" />
</mxCell>
<mxCell id="svc-cognito" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#DD344C;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=10;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.cognito;fontFamily=Helvetica;shadow=1;" value="Cognito<div><i>Identity Pool</i></div>" vertex="1" parent="grp-cognito">
<mxGeometry x="36" y="30" width="48" height="48" as="geometry" />
</mxCell>
<!-- CloudWatch RUM -->
<mxCell id="grp-rum" style="fillColor=#FCE4EC;strokeColor=#E7157B;rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontStyle=1;fontSize=12;fontColor=#E7157B;fontFamily=Helvetica;container=1;collapsible=0;shadow=1;strokeWidth=1.5;" value="Browser Telemetry" vertex="1" parent="1">
<mxGeometry x="420" y="360" width="120" height="120" as="geometry" />
</mxCell>
<mxCell id="svc-rum" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#E7157B;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=10;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.cloudwatch_2;fontFamily=Helvetica;shadow=1;" value="CloudWatch RUM<div><i>X-Ray correlation</i></div>" vertex="1" parent="grp-rum">
<mxGeometry x="36" y="30" width="48" height="48" as="geometry" />
</mxCell>
<!-- Column 3: API & Compute -->
<!-- API Gateway -->
<mxCell id="grp-apigw" style="fillColor=#EDE7F6;strokeColor=#8C4FFF;rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontStyle=1;fontSize=12;fontColor=#8C4FFF;fontFamily=Helvetica;container=1;collapsible=0;shadow=1;strokeWidth=1.5;" value="REST API" vertex="1" parent="1">
<mxGeometry x="600" y="200" width="120" height="120" as="geometry" />
</mxCell>
<mxCell id="svc-apigw" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#8C4FFF;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=10;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.api_gateway;fontFamily=Helvetica;shadow=1;" value="API Gateway<div><i>/hello, CORS, access logs</i></div>" vertex="1" parent="grp-apigw">
<mxGeometry x="36" y="30" width="48" height="48" as="geometry" />
</mxCell>
<!-- Lambda -->
<mxCell id="grp-lambda" style="fillColor=#FFF2E8;strokeColor=#ED7100;rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontStyle=1;fontSize=12;fontColor=#ED7100;fontFamily=Helvetica;container=1;collapsible=0;shadow=1;strokeWidth=1.5;" value="Compute" vertex="1" parent="1">
<mxGeometry x="600" y="360" width="120" height="120" as="geometry" />
</mxCell>
<mxCell id="svc-lambda" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#ED7100;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=10;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.lambda;fontFamily=Helvetica;shadow=1;" value="AWS Lambda<div><i>Python 3.13 arm64, Powertools</i></div>" vertex="1" parent="grp-lambda">
<mxGeometry x="36" y="30" width="48" height="48" as="geometry" />
</mxCell>
<!-- Column 4: State & Config -->
<!-- DynamoDB -->
<mxCell id="grp-ddb" style="fillColor=#F5E6F7;strokeColor=#C925D1;rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontStyle=1;fontSize=12;fontColor=#C925D1;fontFamily=Helvetica;container=1;collapsible=0;shadow=1;strokeWidth=1.5;" value="Idempotency Store" vertex="1" parent="1">
<mxGeometry x="780" y="200" width="120" height="120" as="geometry" />
</mxCell>
<mxCell id="svc-ddb" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#C925D1;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=10;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.dynamodb;fontFamily=Helvetica;shadow=1;" value="DynamoDB<div><i>PITR, CMK</i></div>" vertex="1" parent="grp-ddb">
<mxGeometry x="36" y="30" width="48" height="48" as="geometry" />
</mxCell>
<!-- SSM Parameter Store -->
<mxCell id="grp-ssm" style="fillColor=#F5E6F7;strokeColor=#C925D1;rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontStyle=1;fontSize=12;fontColor=#C925D1;fontFamily=Helvetica;container=1;collapsible=0;shadow=1;strokeWidth=1.5;" value="Parameter Store" vertex="1" parent="1">
<mxGeometry x="780" y="360" width="120" height="120" as="geometry" />
</mxCell>
<mxCell id="svc-ssm" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#C925D1;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=10;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.systems_manager;fontFamily=Helvetica;shadow=1;" value="SSM<div><i>greeting param</i></div>" vertex="1" parent="grp-ssm">
<mxGeometry x="36" y="30" width="48" height="48" as="geometry" />
</mxCell>
<!-- AppConfig -->
<mxCell id="grp-appconfig" style="fillColor=#F5E6F7;strokeColor=#C925D1;rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontStyle=1;fontSize=12;fontColor=#C925D1;fontFamily=Helvetica;container=1;collapsible=0;shadow=1;strokeWidth=1.5;" value="Feature Flags" vertex="1" parent="1">
<mxGeometry x="780" y="520" width="120" height="120" as="geometry" />
</mxCell>
<mxCell id="svc-appconfig" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#C925D1;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=10;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.app_config;fontFamily=Helvetica;shadow=1;" value="AppConfig<div><i>CMK-encrypted</i></div>" vertex="1" parent="grp-appconfig">
<mxGeometry x="36" y="30" width="48" height="48" as="geometry" />
</mxCell>
<!-- Column 5: Audit & Analytics -->
<!-- CloudTrail -->
<mxCell id="grp-cloudtrail" style="fillColor=#FCE4EC;strokeColor=#E7157B;rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontStyle=1;fontSize=12;fontColor=#E7157B;fontFamily=Helvetica;container=1;collapsible=0;shadow=1;strokeWidth=1.5;" value="Audit Trail" vertex="1" parent="1">
<mxGeometry x="960" y="200" width="120" height="120" as="geometry" />
</mxCell>
<mxCell id="svc-cloudtrail" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#E7157B;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=10;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.cloudtrail;fontFamily=Helvetica;shadow=1;" value="CloudTrail<div><i>S3 data events</i></div>" vertex="1" parent="grp-cloudtrail">
<mxGeometry x="36" y="30" width="48" height="48" as="geometry" />
</mxCell>
<!-- Athena -->
<mxCell id="grp-athena" style="fillColor=#EDE7F6;strokeColor=#8C4FFF;rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontStyle=1;fontSize=12;fontColor=#8C4FFF;fontFamily=Helvetica;container=1;collapsible=0;shadow=1;strokeWidth=1.5;" value="Query Engine" vertex="1" parent="1">
<mxGeometry x="960" y="360" width="120" height="120" as="geometry" />
</mxCell>
<mxCell id="svc-athena" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#8C4FFF;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=10;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.athena;fontFamily=Helvetica;shadow=1;" value="Athena<div><i>CF + S3 access logs</i></div>" vertex="1" parent="grp-athena">
<mxGeometry x="36" y="30" width="48" height="48" as="geometry" />
</mxCell>
<!-- Glue Data Catalog -->
<mxCell id="grp-glue" style="fillColor=#EDE7F6;strokeColor=#8C4FFF;rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontStyle=1;fontSize=12;fontColor=#8C4FFF;fontFamily=Helvetica;container=1;collapsible=0;shadow=1;strokeWidth=1.5;" value="Data Catalog" vertex="1" parent="1">
<mxGeometry x="960" y="520" width="120" height="120" as="geometry" />
</mxCell>
<mxCell id="svc-glue" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#8C4FFF;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=10;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.glue;fontFamily=Helvetica;shadow=1;" value="AWS Glue<div><i>tables &amp; schemas</i></div>" vertex="1" parent="grp-glue">
<mxGeometry x="36" y="30" width="48" height="48" as="geometry" />
</mxCell>
<!-- Auxiliary Services group (dashed box) -->
<mxCell id="aux-group" value="<b>Auxiliary Services</b>" style="rounded=0;fillColor=none;strokeColor=#666666;dashed=1;verticalAlign=top;align=left;fontStyle=1;fontSize=12;fontColor=#666666;fontFamily=Helvetica;whiteSpace=wrap;html=1;spacingLeft=8;spacingTop=4;" vertex="1" parent="1">
<mxGeometry x="240" y="720" width="380" height="160" as="geometry" />
</mxCell>
<mxCell id="grp-cloudwatch" style="fillColor=#FCE4EC;strokeColor=#E7157B;rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontStyle=1;fontSize=12;fontColor=#E7157B;fontFamily=Helvetica;container=1;collapsible=0;shadow=1;strokeWidth=1.5;" value="Observability" vertex="1" parent="1">
<mxGeometry x="260" y="740" width="120" height="120" as="geometry" />
</mxCell>
<mxCell id="svc-cloudwatch" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#E7157B;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=10;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.cloudwatch_2;fontFamily=Helvetica;shadow=1;" value="CloudWatch<div><i>logs, dashboards</i></div>" vertex="1" parent="grp-cloudwatch">
<mxGeometry x="36" y="30" width="48" height="48" as="geometry" />
</mxCell>
<mxCell id="grp-xray" style="fillColor=#FCE4EC;strokeColor=#E7157B;rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontStyle=1;fontSize=12;fontColor=#E7157B;fontFamily=Helvetica;container=1;collapsible=0;shadow=1;strokeWidth=1.5;" value="Tracing" vertex="1" parent="1">
<mxGeometry x="440" y="740" width="120" height="120" as="geometry" />
</mxCell>
<mxCell id="svc-xray" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;fillColor=#E7157B;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=10;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.xray;fontFamily=Helvetica;shadow=1;" value="X-Ray<div><i>active tracing</i></div>" vertex="1" parent="grp-xray">
<mxGeometry x="36" y="30" width="48" height="48" as="geometry" />
</mxCell>
<!-- EDGES -->
<!-- 1. Users → CloudFront -->
<mxCell id="edge-1" style="edgeStyle=orthogonalEdgeStyle;html=1;endArrow=block;elbow=vertical;startArrow=none;endFill=1;strokeColor=#545B64;rounded=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;fontFamily=Helvetica;" edge="1" parent="1" source="users-container" target="svc-cloudfront">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<!-- 2. CloudFront → WAF (dashed, association) -->
<mxCell id="edge-2" style="edgeStyle=orthogonalEdgeStyle;html=1;endArrow=block;startArrow=block;endFill=1;startFill=1;strokeColor=#DD344C;rounded=0;dashed=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontFamily=Helvetica;" edge="1" parent="1" source="svc-cloudfront" target="svc-waf">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<!-- 3. CloudFront → S3 (OAC, routes around WAF) -->
<mxCell id="edge-3" style="edgeStyle=orthogonalEdgeStyle;html=1;endArrow=block;elbow=vertical;startArrow=none;endFill=1;strokeColor=#545B64;rounded=0;exitX=1;exitY=0.75;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;fontFamily=Helvetica;" edge="1" parent="1" source="svc-cloudfront" target="svc-s3">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="380" y="244" />
<mxPoint x="380" y="574" />
</Array>
</mxGeometry>
</mxCell>
<!-- 4. Cognito → RUM -->
<mxCell id="edge-4" style="edgeStyle=orthogonalEdgeStyle;html=1;endArrow=block;elbow=vertical;startArrow=none;endFill=1;strokeColor=#545B64;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontFamily=Helvetica;" edge="1" parent="1" source="svc-cognito" target="svc-rum">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<!-- 5. Users → API Gateway (long route below the columns) -->
<mxCell id="edge-5" style="edgeStyle=orthogonalEdgeStyle;html=1;endArrow=block;elbow=vertical;startArrow=none;endFill=1;strokeColor=#545B64;rounded=0;exitX=1;exitY=1;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;fontFamily=Helvetica;" edge="1" parent="1" source="users-container" target="svc-apigw">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="175" y="660" />
<mxPoint x="660" y="660" />
<mxPoint x="660" y="244" />
</Array>
</mxGeometry>
</mxCell>
<!-- 6. API Gateway → Lambda -->
<mxCell id="edge-6" style="edgeStyle=orthogonalEdgeStyle;html=1;endArrow=block;elbow=vertical;startArrow=none;endFill=1;strokeColor=#545B64;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontFamily=Helvetica;" edge="1" parent="1" source="svc-apigw" target="svc-lambda">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<!-- 7. Lambda → DynamoDB -->
<mxCell id="edge-7" style="edgeStyle=orthogonalEdgeStyle;html=1;endArrow=block;elbow=vertical;startArrow=none;endFill=1;strokeColor=#545B64;rounded=0;exitX=1;exitY=0.25;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;fontFamily=Helvetica;" edge="1" parent="1" source="svc-lambda" target="svc-ddb">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<!-- 8. Lambda → SSM -->
<mxCell id="edge-8" style="edgeStyle=orthogonalEdgeStyle;html=1;endArrow=block;elbow=vertical;startArrow=none;endFill=1;strokeColor=#545B64;rounded=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;fontFamily=Helvetica;" edge="1" parent="1" source="svc-lambda" target="svc-ssm">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<!-- 9. Lambda → AppConfig (waypoint route) -->
<mxCell id="edge-9" style="edgeStyle=orthogonalEdgeStyle;html=1;endArrow=block;elbow=vertical;startArrow=none;endFill=1;strokeColor=#545B64;rounded=0;exitX=1;exitY=0.75;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;fontFamily=Helvetica;" edge="1" parent="1" source="svc-lambda" target="svc-appconfig">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="745" y="444" />
<mxPoint x="745" y="594" />
</Array>
</mxGeometry>
</mxCell>
<!-- 10. S3 → CloudTrail (long horizontal route at bottom of column row 3) -->
<mxCell id="edge-10" style="edgeStyle=orthogonalEdgeStyle;html=1;endArrow=block;elbow=vertical;startArrow=none;endFill=1;strokeColor=#545B64;rounded=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;dashed=1;fontFamily=Helvetica;" edge="1" parent="1" source="svc-s3" target="svc-cloudtrail">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="1020" y="594" />
<mxPoint x="1020" y="284" />
</Array>
</mxGeometry>
</mxCell>
<!-- 11. Athena ↔ Glue (catalog usage) -->
<mxCell id="edge-11" style="edgeStyle=orthogonalEdgeStyle;html=1;endArrow=block;startArrow=block;endFill=1;startFill=1;strokeColor=#545B64;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontFamily=Helvetica;" edge="1" parent="1" source="svc-athena" target="svc-glue">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<!-- ON-DIAGRAM STEP BADGES -->
<mxCell id="step-1" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#007CBD;strokeColor=default;fontColor=#FFFFFF;fontStyle=1;fontSize=16;fontFamily=Helvetica;shadow=1;glass=0;strokeWidth=2;align=center;verticalAlign=middle;labelBackgroundColor=none;" value="1" vertex="1" parent="1">
<mxGeometry x="160" y="218" width="28" height="28" as="geometry" />
</mxCell>
<mxCell id="step-2" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#007CBD;strokeColor=default;fontColor=#FFFFFF;fontStyle=1;fontSize=16;fontFamily=Helvetica;shadow=1;glass=0;strokeWidth=2;align=center;verticalAlign=middle;labelBackgroundColor=none;" value="2" vertex="1" parent="1">
<mxGeometry x="368" y="328" width="28" height="28" as="geometry" />
</mxCell>
<mxCell id="step-3" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#007CBD;strokeColor=default;fontColor=#FFFFFF;fontStyle=1;fontSize=16;fontFamily=Helvetica;shadow=1;glass=0;strokeWidth=2;align=center;verticalAlign=middle;labelBackgroundColor=none;" value="3" vertex="1" parent="1">
<mxGeometry x="548" y="218" width="28" height="28" as="geometry" />
</mxCell>
<mxCell id="step-4" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#007CBD;strokeColor=default;fontColor=#FFFFFF;fontStyle=1;fontSize=16;fontFamily=Helvetica;shadow=1;glass=0;strokeWidth=2;align=center;verticalAlign=middle;labelBackgroundColor=none;" value="4" vertex="1" parent="1">
<mxGeometry x="548" y="328" width="28" height="28" as="geometry" />
</mxCell>
<mxCell id="step-5" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#007CBD;strokeColor=default;fontColor=#FFFFFF;fontStyle=1;fontSize=16;fontFamily=Helvetica;shadow=1;glass=0;strokeWidth=2;align=center;verticalAlign=middle;labelBackgroundColor=none;" value="5" vertex="1" parent="1">
<mxGeometry x="160" y="490" width="28" height="28" as="geometry" />
</mxCell>
<mxCell id="step-6" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#007CBD;strokeColor=default;fontColor=#FFFFFF;fontStyle=1;fontSize=16;fontFamily=Helvetica;shadow=1;glass=0;strokeWidth=2;align=center;verticalAlign=middle;labelBackgroundColor=none;" value="6" vertex="1" parent="1">
<mxGeometry x="728" y="328" width="28" height="28" as="geometry" />
</mxCell>
<mxCell id="step-7" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#007CBD;strokeColor=default;fontColor=#FFFFFF;fontStyle=1;fontSize=16;fontFamily=Helvetica;shadow=1;glass=0;strokeWidth=2;align=center;verticalAlign=middle;labelBackgroundColor=none;" value="7" vertex="1" parent="1">
<mxGeometry x="728" y="392" width="28" height="28" as="geometry" />
</mxCell>
<mxCell id="step-8" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#007CBD;strokeColor=default;fontColor=#FFFFFF;fontStyle=1;fontSize=16;fontFamily=Helvetica;shadow=1;glass=0;strokeWidth=2;align=center;verticalAlign=middle;labelBackgroundColor=none;" value="8" vertex="1" parent="1">
<mxGeometry x="728" y="428" width="28" height="28" as="geometry" />
</mxCell>
<mxCell id="step-9" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#007CBD;strokeColor=default;fontColor=#FFFFFF;fontStyle=1;fontSize=16;fontFamily=Helvetica;shadow=1;glass=0;strokeWidth=2;align=center;verticalAlign=middle;labelBackgroundColor=none;" value="9" vertex="1" parent="1">
<mxGeometry x="728" y="488" width="28" height="28" as="geometry" />
</mxCell>
<mxCell id="step-10" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#007CBD;strokeColor=default;fontColor=#FFFFFF;fontStyle=1;fontSize=16;fontFamily=Helvetica;shadow=1;glass=0;strokeWidth=2;align=center;verticalAlign=middle;labelBackgroundColor=none;" value="10" vertex="1" parent="1">
<mxGeometry x="990" y="490" width="28" height="28" as="geometry" />
</mxCell>
<!-- LEGEND PANEL -->
<mxCell id="legend-bg" style="verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.rect;fillColor2=none;strokeWidth=1;size=20;indent=5;fillColor=light-dark(#EDF3FF,#305363);strokeColor=#6c8ebf;" value="" vertex="1" parent="1">
<mxGeometry x="1180" y="30" width="650" height="1030" as="geometry" />
</mxCell>
<mxCell id="legend-title" value="<b>Architecture Steps</b>" style="text;html=1;align=left;verticalAlign=top;spacingTop=-4;fontSize=18;fontStyle=1;fontFamily=Helvetica;labelBackgroundColor=none;" vertex="1" parent="1">
<mxGeometry x="1200" y="50" width="610" height="28" as="geometry" />
</mxCell>
<mxCell id="legend-container" connectable="0" style="group" value="" vertex="1" parent="1">
<mxGeometry x="1200" y="90" width="602" height="900" as="geometry" />
</mxCell>
<!-- Step 1: Static delivery -->
<mxCell id="step-1-legend" connectable="0" style="group;fontFamily=Helvetica;" value="" vertex="1" parent="legend-container">
<mxGeometry y="0" width="600" height="80" as="geometry" />
</mxCell>
<mxCell id="step-1-badge" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#007CBD;strokeColor=default;fontColor=#FFFFFF;fontStyle=1;fontSize=22;labelBackgroundColor=none;fontFamily=Helvetica;shadow=1;glass=0;strokeWidth=2;" value="1" vertex="1" parent="step-1-legend">
<mxGeometry y="2" width="40" height="38" as="geometry" />
</mxCell>
<mxCell id="step-1-desc" style="text;html=1;align=left;verticalAlign=top;spacingTop=-4;fontSize=14;labelBackgroundColor=none;whiteSpace=wrap;fontFamily=Helvetica;" value="<div><b>Static asset delivery</b></div><div><span style="color: light-dark(rgb(0,0,0), rgb(255,255,255));">Browser loads the SPA from CloudFront, which fetches the bundle from a CMK-encrypted S3 origin via OAC.</span></div>" vertex="1" parent="step-1-legend">
<mxGeometry x="52" width="548" height="80" as="geometry" />
</mxCell>
<!-- Step 2: WAF -->
<mxCell id="step-2-legend" connectable="0" style="group;fontFamily=Helvetica;" value="" vertex="1" parent="legend-container">
<mxGeometry y="90" width="600" height="80" as="geometry" />
</mxCell>
<mxCell id="step-2-badge" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#007CBD;strokeColor=default;fontColor=#FFFFFF;fontStyle=1;fontSize=22;labelBackgroundColor=none;fontFamily=Helvetica;shadow=1;glass=0;strokeWidth=2;" value="2" vertex="1" parent="step-2-legend">
<mxGeometry y="2" width="40" height="38" as="geometry" />
</mxCell>
<mxCell id="step-2-desc" style="text;html=1;align=left;verticalAlign=top;spacingTop=-4;fontSize=14;labelBackgroundColor=none;whiteSpace=wrap;fontFamily=Helvetica;" value="<div><b>WAF inspection on every request</b></div><div><span style="color: light-dark(rgb(0,0,0), rgb(255,255,255));">CloudFront has a WebACL attached: IP reputation, CRS, known-bad-inputs, anonymous-IP, plus a forwarded-IP rate limit.</span></div>" vertex="1" parent="step-2-legend">
<mxGeometry x="52" width="548" height="80" as="geometry" />
</mxCell>
<!-- Step 3: Cognito guest auth -->
<mxCell id="step-3-legend" connectable="0" style="group;fontFamily=Helvetica;" value="" vertex="1" parent="legend-container">
<mxGeometry y="180" width="600" height="80" as="geometry" />
</mxCell>
<mxCell id="step-3-badge" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#007CBD;strokeColor=default;fontColor=#FFFFFF;fontStyle=1;fontSize=22;labelBackgroundColor=none;fontFamily=Helvetica;shadow=1;glass=0;strokeWidth=2;" value="3" vertex="1" parent="step-3-legend">
<mxGeometry y="2" width="40" height="38" as="geometry" />
</mxCell>
<mxCell id="step-3-desc" style="text;html=1;align=left;verticalAlign=top;spacingTop=-4;fontSize=14;labelBackgroundColor=none;whiteSpace=wrap;fontFamily=Helvetica;" value="<div><b>Guest identity broker</b></div><div><span style="color: light-dark(rgb(0,0,0), rgb(255,255,255));">Browser obtains scoped temporary credentials from a Cognito Identity Pool (sts:AssumeRoleWithWebIdentity).</span></div>" vertex="1" parent="step-3-legend">
<mxGeometry x="52" width="548" height="80" as="geometry" />
</mxCell>
<!-- Step 4: RUM telemetry -->
<mxCell id="step-4-legend" connectable="0" style="group;fontFamily=Helvetica;" value="" vertex="1" parent="legend-container">
<mxGeometry y="270" width="600" height="80" as="geometry" />
</mxCell>
<mxCell id="step-4-badge" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#007CBD;strokeColor=default;fontColor=#FFFFFF;fontStyle=1;fontSize=22;labelBackgroundColor=none;fontFamily=Helvetica;shadow=1;glass=0;strokeWidth=2;" value="4" vertex="1" parent="step-4-legend">
<mxGeometry y="2" width="40" height="38" as="geometry" />
</mxCell>
<mxCell id="step-4-desc" style="text;html=1;align=left;verticalAlign=top;spacingTop=-4;fontSize=14;labelBackgroundColor=none;whiteSpace=wrap;fontFamily=Helvetica;" value="<div><b>Browser telemetry</b></div><div><span style="color: light-dark(rgb(0,0,0), rgb(255,255,255));">CloudWatch RUM ingests page-load, JS-error, and fetch-latency events; X-Ray segment headers correlate client to backend traces.</span></div>" vertex="1" parent="step-4-legend">
<mxGeometry x="52" width="548" height="80" as="geometry" />
</mxCell>
<!-- Step 5: API call -->
<mxCell id="step-5-legend" connectable="0" style="group;fontFamily=Helvetica;" value="" vertex="1" parent="legend-container">
<mxGeometry y="360" width="600" height="80" as="geometry" />
</mxCell>
<mxCell id="step-5-badge" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#007CBD;strokeColor=default;fontColor=#FFFFFF;fontStyle=1;fontSize=22;labelBackgroundColor=none;fontFamily=Helvetica;shadow=1;glass=0;strokeWidth=2;" value="5" vertex="1" parent="step-5-legend">
<mxGeometry y="2" width="40" height="38" as="geometry" />
</mxCell>
<mxCell id="step-5-desc" style="text;html=1;align=left;verticalAlign=top;spacingTop=-4;fontSize=14;labelBackgroundColor=none;whiteSpace=wrap;fontFamily=Helvetica;" value="<div><b>API call</b></div><div><span style="color: light-dark(rgb(0,0,0), rgb(255,255,255));">Browser issues an XHR to /hello on API Gateway; CORS configured, custom Idempotency-Key header required.</span></div>" vertex="1" parent="step-5-legend">
<mxGeometry x="52" width="548" height="80" as="geometry" />
</mxCell>
<!-- Step 6: Lambda invoke -->
<mxCell id="step-6-legend" connectable="0" style="group;fontFamily=Helvetica;" value="" vertex="1" parent="legend-container">
<mxGeometry y="450" width="600" height="80" as="geometry" />
</mxCell>
<mxCell id="step-6-badge" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#007CBD;strokeColor=default;fontColor=#FFFFFF;fontStyle=1;fontSize=22;labelBackgroundColor=none;fontFamily=Helvetica;shadow=1;glass=0;strokeWidth=2;" value="6" vertex="1" parent="step-6-legend">
<mxGeometry y="2" width="40" height="38" as="geometry" />
</mxCell>
<mxCell id="step-6-desc" style="text;html=1;align=left;verticalAlign=top;spacingTop=-4;fontSize=14;labelBackgroundColor=none;whiteSpace=wrap;fontFamily=Helvetica;" value="<div><b>Lambda invocation</b></div><div><span style="color: light-dark(rgb(0,0,0), rgb(255,255,255));">API Gateway proxies to a Python 3.13 arm64 Lambda; Powertools handles routing, logging, metrics, and idempotency.</span></div>" vertex="1" parent="step-6-legend">
<mxGeometry x="52" width="548" height="80" as="geometry" />
</mxCell>
<!-- Step 7: DynamoDB idempotency -->
<mxCell id="step-7-legend" connectable="0" style="group;fontFamily=Helvetica;" value="" vertex="1" parent="legend-container">
<mxGeometry y="540" width="600" height="80" as="geometry" />
</mxCell>
<mxCell id="step-7-badge" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#007CBD;strokeColor=default;fontColor=#FFFFFF;fontStyle=1;fontSize=22;labelBackgroundColor=none;fontFamily=Helvetica;shadow=1;glass=0;strokeWidth=2;" value="7" vertex="1" parent="step-7-legend">
<mxGeometry y="2" width="40" height="38" as="geometry" />
</mxCell>
<mxCell id="step-7-desc" style="text;html=1;align=left;verticalAlign=top;spacingTop=-4;fontSize=14;labelBackgroundColor=none;whiteSpace=wrap;fontFamily=Helvetica;" value="<div><b>Idempotency record</b></div><div><span style="color: light-dark(rgb(0,0,0), rgb(255,255,255));">Lambda reads/writes the Idempotency-Key in DynamoDB to short-circuit retries; PITR enabled, encryption with the project CMK.</span></div>" vertex="1" parent="step-7-legend">
<mxGeometry x="52" width="548" height="80" as="geometry" />
</mxCell>
<!-- Step 8: SSM Parameter -->
<mxCell id="step-8-legend" connectable="0" style="group;fontFamily=Helvetica;" value="" vertex="1" parent="legend-container">
<mxGeometry y="630" width="600" height="80" as="geometry" />
</mxCell>
<mxCell id="step-8-badge" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#007CBD;strokeColor=default;fontColor=#FFFFFF;fontStyle=1;fontSize=22;labelBackgroundColor=none;fontFamily=Helvetica;shadow=1;glass=0;strokeWidth=2;" value="8" vertex="1" parent="step-8-legend">
<mxGeometry y="2" width="40" height="38" as="geometry" />
</mxCell>
<mxCell id="step-8-desc" style="text;html=1;align=left;verticalAlign=top;spacingTop=-4;fontSize=14;labelBackgroundColor=none;whiteSpace=wrap;fontFamily=Helvetica;" value="<div><b>Configuration read</b></div><div><span style="color: light-dark(rgb(0,0,0), rgb(255,255,255));">Lambda fetches the greeting parameter from SSM Parameter Store via Powertools (5-minute in-memory cache).</span></div>" vertex="1" parent="step-8-legend">
<mxGeometry x="52" width="548" height="80" as="geometry" />
</mxCell>
<!-- Step 9: AppConfig feature flags -->
<mxCell id="step-9-legend" connectable="0" style="group;fontFamily=Helvetica;" value="" vertex="1" parent="legend-container">
<mxGeometry y="720" width="600" height="80" as="geometry" />
</mxCell>
<mxCell id="step-9-badge" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#007CBD;strokeColor=default;fontColor=#FFFFFF;fontStyle=1;fontSize=22;labelBackgroundColor=none;fontFamily=Helvetica;shadow=1;glass=0;strokeWidth=2;" value="9" vertex="1" parent="step-9-legend">
<mxGeometry y="2" width="40" height="38" as="geometry" />
</mxCell>
<mxCell id="step-9-desc" style="text;html=1;align=left;verticalAlign=top;spacingTop=-4;fontSize=14;labelBackgroundColor=none;whiteSpace=wrap;fontFamily=Helvetica;" value="<div><b>Feature flag evaluation</b></div><div><span style="color: light-dark(rgb(0,0,0), rgb(255,255,255));">Lambda evaluates flags via AppConfig; hosted configuration content is CMK-encrypted at rest.</span></div>" vertex="1" parent="step-9-legend">
<mxGeometry x="52" width="548" height="80" as="geometry" />
</mxCell>
<!-- Step 10: Audit + analytics -->
<mxCell id="step-10-legend" connectable="0" style="group;fontFamily=Helvetica;" value="" vertex="1" parent="legend-container">
<mxGeometry y="810" width="600" height="80" as="geometry" />
</mxCell>
<mxCell id="step-10-badge" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#007CBD;strokeColor=default;fontColor=#FFFFFF;fontStyle=1;fontSize=22;labelBackgroundColor=none;fontFamily=Helvetica;shadow=1;glass=0;strokeWidth=2;" value="10" vertex="1" parent="step-10-legend">
<mxGeometry y="2" width="40" height="38" as="geometry" />
</mxCell>
<mxCell id="step-10-desc" style="text;html=1;align=left;verticalAlign=top;spacingTop=-4;fontSize=14;labelBackgroundColor=none;whiteSpace=wrap;fontFamily=Helvetica;" value="<div><b>Audit + access-log analytics</b></div><div><span style="color: light-dark(rgb(0,0,0), rgb(255,255,255));">CloudTrail captures object-level S3 data events; Athena queries CloudFront + S3 access logs using Glue Data Catalog tables.</span></div>" vertex="1" parent="step-10-legend">
<mxGeometry x="52" width="548" height="80" as="geometry" />
</mxCell>
<!-- Auxiliary services note -->
<mxCell id="aux-note" value="<i>Auxiliary services (CloudWatch, X-Ray) are cross-cutting and used by every primary service.</i>" style="text;html=1;align=left;verticalAlign=top;spacingTop=-4;fontSize=12;fontStyle=2;labelBackgroundColor=none;whiteSpace=wrap;fontFamily=Helvetica;" vertex="1" parent="legend-container">
<mxGeometry y="920" width="600" height="40" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>