@liflig/cdk
    Preparing search index...

    Type Alias LambdaIntegrationProps

    type LambdaIntegrationProps = {
        lambda: lambda.IFunction;
    }
    Index

    Properties

    Properties

    lambda: lambda.IFunction

    The Lambda integration uses the V2 payload format: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html

    If writing the Lambda in TypeScript, this means you should use APIGatewayProxyEventV2 as the request type, and APIGatewayProxyResultV2 as the response type.