Skip to content

Commit

Permalink
upgrade to use lambda v2 payload format
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddenton committed Oct 22, 2023
1 parent bce4b06 commit 13aa36c
Show file tree
Hide file tree
Showing 3 changed files with 759 additions and 294 deletions.
2 changes: 1 addition & 1 deletion aws-lambda-http/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const lambdaIntegration = new aws.apigatewayv2.Integration("http4k-example-api-l
apiId: api.id,
integrationType: "AWS_PROXY",
integrationUri: lambdaFunction.arn,
payloadFormatVersion: "1.0"
payloadFormatVersion: "2.0"
});

const apiDefaultRole = new aws.apigatewayv2.Route("http4k-example-api-route", {
Expand Down
Loading

0 comments on commit 13aa36c

Please sign in to comment.