Is there a way to add a parameter mapping to an AP...
# help
j
Is there a way to add a parameter mapping to an API Gateway proxy integration?
s
Hey @Jonathan Chapman, do you mean a lambda proxy integration or a service proxy integration where you skip the lambda and go straight from API Gateway to a aws service like SQS, EventBridge etc.?
s
@Jonathan Chapman Ahh I see http proxy. I was digging into it. I was super curios to know. Looks like you can map path params on: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-http.html. Haven't check with the SST API construct. But I imagine it would just work.
j
the
/{proxy+}
works fine. But I want to make a header into the proxy
it's the
Paramater Mapping
not the
Path Mapping
@Frank sorry to bug you, but do you have an idea how this can be done?
f
Hey @Jonathan Chapman, do u know if parameter mapping is available to API Gateway HTTP API? Or is it only available to REST API?
j
It's available on the HTTP API, I'm manually setting it right now cause I couldn't figure it out
f
Got it! Let me add support for this and try to cut a release w/ it tonite.
j
tks
@Frank did you add support for this? Looked through the releases and don't see anything about it
f
Hey @Jonathan Chapman, sorry about the delayed follow up. It will be a part of a bigger release that’ll be coming out later this week/early next week.
j
cool, tks for the update