# ResponseTransferMode

The response transfer mode of the integration.

- Source: [`aws-apigateway/lib/integration.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-apigateway/lib/integration.ts#L13)
- Type last changed: v2.230.0 · 26 Nov 2025

## Example

```ts
declare const handler: lambda.Function;
new apigateway.LambdaIntegration(handler, {
  responseTransferMode: apigateway.ResponseTransferMode.STREAM,
});
```

## Members

| Member | 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. |

## Referenced by

- [`IntegrationOptions`](/v2/docs/aws-cdk-lib.aws_apigateway.IntegrationOptions).responseTransferMode
