AWS Security ChangesHomeSearch

AWS lambda documentation change

Service: lambda · 2025-11-22 · Documentation low

File: lambda/latest/dg/configuration-response-streaming.md

Summary

Updated response streaming documentation: added API Gateway proxy integration support, regional availability note, clarified cost implications (billing for full duration even if client disconnects), and added Python to supported runtimes via custom runtime.

Security assessment

The changes clarify operational behaviors and regional availability without addressing security vulnerabilities. The cost warning about billing during client disconnections is a financial consideration, not a security vulnerability. No security features or vulnerabilities are documented.

Diff

diff --git a/lambda/latest/dg/configuration-response-streaming.md b/lambda/latest/dg/configuration-response-streaming.md
index a55b8f881..b094ddb9c 100644
--- a//lambda/latest/dg/configuration-response-streaming.md
+++ b//lambda/latest/dg/configuration-response-streaming.md
@@ -9 +9,5 @@ Bandwidth limits for response streamingVPC compatibility with response streaming
-Lambda functions can stream response payloads back to clients through [Lambda function URLs](./urls-configuration.html) or by using the [InvokeWithResponseStream](https://docs.aws.amazon.com/lambda/latest/dg/API_InvokeWithResponseStream.html) API (via the AWS SDK or direct API calls). Response streaming can benefit latency sensitive applications by improving time to first byte (TTFB) performance. This is because you can send partial responses back to the client as they become available. Additionally, response streaming functions can return payloads up to 200 MB, compared to the 6 MB maximum for buffered responses. Streaming a response also means that your function doesn’t need to fit the entire response in memory. For very large responses, this can reduce the amount of memory you need to configure for your function. 
+Lambda functions can natively stream response payloads back to clients through [Lambda function URLs](./urls-configuration.html) or by using the [InvokeWithResponseStream](https://docs.aws.amazon.com/lambda/latest/api/API_InvokeWithResponseStream.html) API (via the AWS SDK or direct API calls). Your Lambda function can also stream response payloads through the [Amazon API Gateway proxy integration](https://docs.aws.amazon.com/apigateway/latest/developerguide/response-transfer-mode-lambda.html), which uses the [InvokeWithResponseStream](https://docs.aws.amazon.com/lambda/latest/api/API_InvokeWithResponseStream.html) API to invoke your function. Response streaming can benefit latency sensitive applications by improving time to first byte (TTFB) performance. This is because you can send partial responses back to the client as they become available. Additionally, response streaming functions can return payloads up to 200 MB, compared to the 6 MB maximum for buffered responses. Streaming a response also means that your function doesn’t need to fit the entire response in memory. For very large responses, this can reduce the amount of memory you need to configure for your function. 
+
+###### Note
+
+Lambda response streaming is not yet available in all AWS Regions. Please refer to Builder Center's [AWS Capabilities by Region](https://builder.aws.com/build/capabilities) for feature availability by Region.
@@ -13 +17 @@ The speed at which Lambda streams your responses depends on the response size. T
-Streaming responses incurs a cost. For more information, see [AWS Lambda Pricing](https://aws.amazon.com/lambda/pricing/).
+Streaming responses incur cost and streamed responses are not interrupted or stopped when the invoking client connection is broken. Customers will be billed for the full function duration, so customers should exercise caution when configuring long function timeouts.
@@ -15 +19 @@ Streaming responses incurs a cost. For more information, see [AWS Lambda Pricing
-Lambda supports response streaming on Node.js managed runtimes. For other languages, you can [use a custom runtime with a custom Runtime API integration](./runtimes-custom.html#runtimes-custom-response-streaming) to stream responses or use the [Lambda Web Adapter](https://github.com/awslabs/aws-lambda-web-adapter).
+Lambda supports response streaming on Node.js managed runtimes. For other languages, including Python, you can [use a custom runtime with a custom Runtime API integration](./runtimes-custom.html#runtimes-custom-response-streaming) to stream responses or use the [Lambda Web Adapter](https://github.com/awslabs/aws-lambda-web-adapter).