enum ResponseTransferMode
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.APIGateway.ResponseTransferMode |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsapigateway#ResponseTransferMode |
Java | software.amazon.awscdk.services.apigateway.ResponseTransferMode |
Python | aws_cdk.aws_apigateway.ResponseTransferMode |
TypeScript (source) | aws-cdk-lib » aws_apigateway » ResponseTransferMode |
The response transfer mode of the integration.
Example
declare const handler: lambda.Function;
new apigateway.LambdaIntegration(handler, {
responseTransferMode: apigateway.ResponseTransferMode.STREAM,
});
Members
| Name | Description |
|---|---|
| BUFFERED | API Gateway waits to receive the complete response before beginning transmission. |
| STREAM | API Gateway streams the response back to you as it is received from the integration. |
BUFFERED
API Gateway waits to receive the complete response before beginning transmission.
STREAM
API Gateway streams the response back to you as it is received from the integration.
This is only supported for AWS_PROXY and HTTP_PROXY integration types.

.NET
Go
Java
Python
TypeScript (