ContentHandling Enum
Example
ts
declare const getBookHandler: lambda.Function;
declare const getBookIntegration: apigateway.LambdaIntegration;
const getBookIntegration = new apigateway.LambdaIntegration(getBookHandler, {
contentHandling: apigateway.ContentHandling.CONVERT_TO_TEXT, // convert to base64
credentialsPassthrough: true, // use caller identity to invoke the function
});
Members
| Member | Description |
|---|---|
CONVERT_TO_BINARY | Converts a request payload from a base64-encoded string to a binary blob. |
CONVERT_TO_TEXT | Converts a request payload from a binary blob to a base64-encoded string. |
Referenced by
IntegrationOptions.contentHandlingcontent_handlingcontentHandlingContentHandlingContentHandlingIntegrationResponse.contentHandlingcontent_handlingcontentHandlingContentHandlingContentHandling