This is a basic implementation of APIGatewayV2's WebSocket. I have create an astraction layer for integrate correctly WebSocket in CDK stack.
npm run test
perform the jest unit testscdk deploy
deploy this stack to your default AWS account/regioncdk diff
compare deployed stack with current statecdk synth
emits the synthesized CloudFormation template