aws / aws/aws-cdk

(APIGatewayv2.websocket: add support for HTTP integration

Open
#29,562 12 comments 8 reactions 0 assignees View on GitHub
@aws-cdk/aws-apigatewayv2 feature-request p2
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
2d 3h
Merged PRs (30d)
83

Description

### Describe the feature

Presently the `WebSocketApi` construct supports lambda, AWS and Mock integrations; add support for HTTP integration; effectively all available options in the GUI/CFN for this (proxy, vpc link, etc).

### Use Case

Websocket messages being delivered to internal HTTP endpoints.

### Proposed Solution

Add a new WebSocketHttpIntegration implementation of WebSocketIntegration

### Other Information

_No response_

### Acknowledgements

- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change

### CDK version used

2.132.0

### Environment details (OS name and version, etc.)

MacOS

Contributor guide

Open the contributing guide

Research direction

Start with the WebSocketApi construct and the existing WebSocketIntegration implementations, then compare the HTTP integration options available in the AWS GUI and CloudFormation. Done means a WebSocketHttpIntegration supports HTTP delivery, including the requested proxy and VPC link options.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
api, cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.