pulumi / pulumi-aws-apigateway

Apache License 2.0
11 stars 5 forks source link

Provide support for requestParameters to the IntegrationRoute #28

Open prashanthkokati opened 3 years ago

prashanthkokati commented 3 years ago

Right now, there is no support in the awsx.apigateway's IntegrationRoute to customize the requestParameters. It would be great to have this feature so that we can pass in custom request mappings like so:

  requestParameters: {
                'integration.request.header.x-api-key': 'context.authorizer.x-api-key',
            },

so that we can pass in keys from Authorizer's response to the downstream service.

image