aws-apigateway-dynamodb enable passing of methodOptions for use in addProxyMethodToApiResource #909
Labels
feature-request
A feature should be added or improved
needs-triage
The issue or PR still needs to be triaged
The addProxyMethodToApiResource accepts a params.methodOptions to be able to override/complement the default options defined
aws-solutions-constructs/source/patterns/@aws-solutions-constructs/core/lib/apigateway-helper.ts
Line 324 in dc48e48
unfortunately the aws-apigateway-dynamodb construct does not pass this in its call the the addProxyMethodToApiResource method e.g
aws-solutions-constructs/source/patterns/@aws-solutions-constructs/aws-apigateway-dynamodb/lib/index.ts
Line 265 in dc48e48
Use Case
Overriding default headers to specify CORS values would be a great use case to do it whilst overriding the default method responses.
Proposed Solution
Be able to pass in methodOptions as aditional opitional attribute . e.g : createIntegrationMethodOptions
This is a 🚀 Feature Request
The text was updated successfully, but these errors were encountered: