Class ContentHandling
Inheritance
System.Object
ContentHandling
Namespace: Amazon.CDK.AWS.APIGateway
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public sealed class ContentHandling : Enum
Syntax (vb)
Public NotInheritable Class ContentHandling
Inherits
Enum
Remarks
ExampleMetadata: infused
Examples
Function getBookHandler;
LambdaIntegration getBookIntegration;
var getBookIntegration = new LambdaIntegration(getBookHandler, new LambdaIntegrationOptions {
ContentHandling = ContentHandling.CONVERT_TO_TEXT, // convert to base64
CredentialsPassthrough = true
});
Synopsis
Fields
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. |
value__ |
Fields
CONVERT_TO_BINARY
Converts a request payload from a base64-encoded string to a binary blob.
public const ContentHandling CONVERT_TO_BINARY
Field Value
Type | Description |
---|---|
ContentHandling |
CONVERT_TO_TEXT
Converts a request payload from a binary blob to a base64-encoded string.
public const ContentHandling CONVERT_TO_TEXT
Field Value
Type | Description |
---|---|
ContentHandling |
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |