Interface ILambdaIntegrationOptions
- Namespace
- Amazon.CDK.AWS.APIGateway
- Assembly
- Amazon.CDK.AWS.APIGateway.dll
public interface ILambdaIntegrationOptions : IIntegrationOptions
- Inherited Members
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
Properties
AllowTestInvoke
Allow invoking method from AWS Console UI (for testing purposes).
bool? AllowTestInvoke { get; }
Property Value
- bool?
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.
bool? Proxy { get; }
Property Value
- bool?