Table of Contents

Enum ContentHandling

Namespace
Amazon.CDK.AWS.APIGateway
Assembly
Amazon.CDK.AWS.APIGateway.dll
public enum ContentHandling

Fields

CONVERT_TO_BINARY = 0

Converts a request payload from a base64-encoded string to a binary blob.

CONVERT_TO_TEXT = 1

Converts a request payload from a binary blob to a base64-encoded string.

Examples

Function getBookHandler;
            LambdaIntegration getBookIntegration;


            var getBookIntegration = new LambdaIntegration(getBookHandler, new LambdaIntegrationOptions {
                ContentHandling = ContentHandling.CONVERT_TO_TEXT,  // convert to base64
                CredentialsPassthrough = true
            });

Remarks

ExampleMetadata: infused