Ability to lookup up a web socket api gateway statically #18755
Labels
@aws-cdk/aws-apigatewayv2
Related to Amazon API Gateway v2
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
p2
Description
Web Socket Api gateway is missing any static lookup
from*
type methods similar to HttpApi such asHttpApi.fromHttpApiAttributes
This makes it very difficult to reference the web socket gateway from another stack.
Use Case
With Http API we have some setups where we define a single api gateway and then add routes and authorizers from other stacks in other repositories, allowing different microservice repositories to manage their own routes on a shared gateway/domain. We want to do something ismilar with WebSocketApi.
Proposed Solution
I imagine something similar to what is currently don in HttpApi.
Other information
No response
Acknowledge
The text was updated successfully, but these errors were encountered: