Interface ILambdaIntegrationOptions
Inherited Members
Namespace: Amazon.CDK.AWS.APIGateway
Assembly: Amazon.CDK.AWS.APIGateway.dll
Syntax (csharp)
public interface ILambdaIntegrationOptions : IIntegrationOptions
Syntax (vb)
Public Interface ILambdaIntegrationOptions
Inherits IIntegrationOptions
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
Properties
AllowTestInvoke | Allow invoking method from AWS Console UI (for testing purposes). |
Proxy | Use proxy integration or normal (request/response mapping) integration. |
Properties
AllowTestInvoke
Allow invoking method from AWS Console UI (for testing purposes).
virtual Nullable<bool> AllowTestInvoke { get; }
Property Value
System.Nullable<System.Boolean>
Remarks
This will add another permission to the AWS Lambda resource policy which
will allow the test-invoke-stage
stage to invoke this handler. If this
is set to false
, the function will only be usable from the deployment
endpoint.
Default: true
Proxy
Use proxy integration or normal (request/response mapping) integration.
virtual Nullable<bool> Proxy { get; }
Property Value
System.Nullable<System.Boolean>