Skip to content

Commit 92cc608

Browse files
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 #19535
1 parent 24d2adf commit 92cc608

File tree

26 files changed

+65433
-24
lines changed

26 files changed

+65433
-24
lines changed

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/integ.lambda-permission-consolidation.js.snapshot/LambdaPermissionConsolidationStack.assets.json

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)