-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Ability to lookup up a web socket api gateway statically #18755
Copy link
Copy link
Closed
Labels
@aws-cdk/aws-apigatewayv2Related to Amazon API Gateway v2Related to Amazon API Gateway v2effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2
Description
Description
Web Socket Api gateway is missing any static lookup from* type methods similar to HttpApi such as HttpApi.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
- I may be able to implement this feature request
- This feature might incur a breaking change
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-apigatewayv2Related to Amazon API Gateway v2Related to Amazon API Gateway v2effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2