Nicola
04/05/2023, 10:41 AMdave
04/05/2023, 10:56 AMNicola
04/05/2023, 10:57 AMNicola
04/05/2023, 10:59 AMNicola
04/05/2023, 11:00 AMdave
04/05/2023, 11:00 AMNicola
04/05/2023, 11:00 AMNicola
04/05/2023, 11:01 AMNicola
04/05/2023, 11:02 AMdave
04/05/2023, 11:02 AMdave
04/05/2023, 11:02 AMNicola
04/05/2023, 11:02 AMdave
04/05/2023, 11:03 AMNicola
04/05/2023, 2:44 PM@Suppress("unused")
class MyAwsLambdaExposedFunction : ApiGatewayV2LambdaFunction(printingAppWithEnv())
I've read that V1 is basically REST API. V2 is for Http and Websocket.
I was quite sure my function is in REST style, why V1 does not work?
It depends on some http4k configuration?dave
04/05/2023, 2:46 PMdave
04/05/2023, 2:48 PMconst lambdaIntegration = new aws.apigatewayv2.Integration("hello-http4k-api-lambda-integration", {
apiId: api.id,
integrationType: "AWS_PROXY",
integrationUri: lambdaFunction.arn,
payloadFormatVersion: "1.0"
});
Nicola
04/05/2023, 2:49 PMdave
04/05/2023, 2:53 PMdave
04/05/2023, 2:54 PMdave
04/05/2023, 2:54 PMdave
04/05/2023, 2:55 PMNicola
04/05/2023, 2:55 PMdave
04/05/2023, 2:55 PMdave
04/05/2023, 2:56 PMNicola
04/05/2023, 2:56 PMdave
04/05/2023, 3:10 PMNicola
04/05/2023, 3:12 PMdave
04/05/2023, 3:14 PM