AWS Security ChangesHomeSearch

AWS lambda documentation change

Service: lambda · 2025-10-01 · Documentation low

File: lambda/latest/dg/nodejs-logging.md

Summary

Updated example timestamps from 2023 to 2025 and adjusted Billed Duration values in sample logs.

Security assessment

Changes are limited to example data modernization (date updates) and metric value corrections. No security-related content modifications or vulnerability disclosures are present in the diff.

Diff

diff --git a/lambda/latest/dg/nodejs-logging.md b/lambda/latest/dg/nodejs-logging.md
index d0737e2c2..584dd48af 100644
--- a//lambda/latest/dg/nodejs-logging.md
+++ b//lambda/latest/dg/nodejs-logging.md
@@ -69 +69 @@ We recommend that you use techniques such as input validation and output encodin
-    REPORT RequestId: c793869b-ee49-115b-a5b6-4fd21e8dedac	Duration: 128.83 ms	Billed Duration: 200 ms	Memory Size: 128 MB	Max Memory Used: 74 MB	Init Duration: 166.62 ms	XRAY TraceId: 1-5d9d007f-0a8c7fd02xmpl480aed55ef0	SegmentId: 3d752xmpl1bbe37e	Sampled: true
+    REPORT RequestId: c793869b-ee49-115b-a5b6-4fd21e8dedac	Duration: 128.83 ms	Billed Duration: 296 ms	Memory Size: 128 MB	Max Memory Used: 74 MB	Init Duration: 166.62 ms	XRAY TraceId: 1-5d9d007f-0a8c7fd02xmpl480aed55ef0	SegmentId: 3d752xmpl1bbe37e	Sampled: true
@@ -155 +155 @@ The first example uses the `console.error` method to output a simple string.
-        "timestamp":"2023-11-01T00:21:51.358Z",
+        "timestamp":"2025-11-01T00:21:51.358Z",
@@ -175 +175 @@ You can also output more complex structured log messages using either single or
-        "timestamp": "2023-12-08T23:21:04.664Z",
+        "timestamp": "2025-12-08T23:21:04.664Z",
@@ -198 +198 @@ In the next example, you again use the `console.log` method to create a log outp
-        "timestamp": "2023-12-08T23:21:04.664Z",
+        "timestamp": "2025-12-08T23:21:04.664Z",
@@ -222 +222 @@ The final example shows how error objects can be output to CloudWatch Logs using
-        "timestamp": "2023-12-08T23:21:04.632Z",
+        "timestamp": "2025-12-08T23:21:04.632Z",
@@ -237 +237 @@ The final example shows how error objects can be output to CloudWatch Logs using
-        "timestamp": "2023-12-08T23:21:04.646Z",
+        "timestamp": "2025-12-08T23:21:04.646Z",