AWS Security ChangesHomeSearch

AWS lambda documentation change

Service: lambda · 2026-01-28 · Documentation low

File: lambda/latest/dg/with-step-functions.md

Summary

Added references to Lambda durable functions as code-first alternatives throughout Step Functions documentation, including comparisons and specific feature links.

Security assessment

Changes focus on workflow orchestration alternatives without mentioning security vulnerabilities, encryption, access controls, or threat mitigation. The additions are purely about feature comparisons between Step Functions and Lambda durable functions.

Diff

diff --git a/lambda/latest/dg/with-step-functions.md b/lambda/latest/dg/with-step-functions.md
index 768b13202..f6d2a673a 100644
--- a//lambda/latest/dg/with-step-functions.md
+++ b//lambda/latest/dg/with-step-functions.md
@@ -9 +9,3 @@ When to use Step FunctionsWhen not to use Step Functions
-Lambda functions that manage multiple tasks, implement retry logic, or contain branching logic are anti-patterns. Instead, we recommend writing Lambda functions that perform single tasks and using AWS Step Functions to orchestrate your application workflows.
+AWS Step Functions provides visual workflow orchestration for coordinating Lambda functions with other AWS services. With native integrations to 220+ AWS services and fully managed, zero-maintenance infrastructure, Step Functions is ideal when you need visual workflow design and fully-managed service integrations.
+
+For orchestration using standard programming languages within Lambda where workflow logic lives alongside business logic, consider [Lambda durable functions](./durable-functions.html). For help choosing between these options, see [Durable functions or Step Functions](./durable-step-functions.html).
@@ -15 +17 @@ For example, processing an order might require validating the order details, che
-The following scenarios are good examples of when to use Step Functions to orchestrate Lambda-based applications.
+The following scenarios are good examples of when Step Functions is a particularly good fit for orchestrating Lambda-based applications.
@@ -61,0 +64,4 @@ Use two Lambda functions: one to validate the order and one to process the payme
+###### Note
+
+**Code-first alternative:** For sequential processing with code-based checkpointing and retry, see [Lambda durable functions steps](./durable-basic-concepts.html).
+
@@ -97,0 +104,4 @@ Use a single Lambda function focused solely on payment processing. Step Function
+###### Note
+
+**Code-first alternative:** Durable functions provide try-catch error handling with configurable retry strategies. See [Error handling in durable functions](./durable-execution-sdk-retries.html).
+
@@ -135,0 +146,4 @@ Use three Lambda functions: one to evaluate the risk of each request, one to app
+###### Note
+
+**Code-first alternative:** Durable functions support callbacks for human-in-the-loop workflows. See [Callbacks in durable functions](./durable-execution-sdk.html).
+
@@ -178,0 +193,4 @@ Use three Lambda functions: one to create a thumbnail image, one to add a waterm
+###### Note
+
+**Code-first alternative:** Durable functions provide `parallel()` and `map()` operations. See [Parallel execution](./durable-execution-sdk.html).
+
@@ -193,0 +212,4 @@ Not all Lambda-based applications benefit from using Step Functions. Consider th
+###### Note
+
+For workflows that don't require visual design or extensive service integrations, [Lambda durable functions](./durable-functions.html) may be a simpler alternative that keeps workflow logic in code within Lambda.
+