Commit f15b1a3
committed
feat(apigateway): add option for consolidating lambda permissions for rest and http lambda integrations
The maximum Lambda permission policy size can be exceeded for APIs which reuse
the same Lambda function for multiple operations, as the integration adds a new
permission for each operation, scoped down to the specific operation.
This change updates both the REST and HTTP API lambda integrations with options
to scope the permission to any operation on the API, adding a single statement
and avoiding overflowing the maximum policy size.
Fixes #9327
Fixes #195351 parent 24d2adf commit f15b1a3
File tree
26 files changed
+65445
-23
lines changed- packages
- @aws-cdk-testing/framework-integ/test
- aws-apigatewayv2-integrations/test/http
- integ.lambda-permission-consolidation.js.snapshot
- asset.c11608a15785084ea1afe65826e575ee316add10c8b1bb373e93297e26aec564.bundle
- aws-apigateway/test
- integ.lambda-permission-consolidation.js.snapshot
- asset.c11608a15785084ea1afe65826e575ee316add10c8b1bb373e93297e26aec564.bundle
- aws-cdk-lib
- aws-apigatewayv2-integrations
- lib/http
- test/http
- aws-apigateway
- lib/integrations
- test/integrations
26 files changed
+65445
-23
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments