gchq / gchq/sleeper

Use CDK constructs for websocket API

Open
#7,011 0 comments 0 reactions 0 assignees View on GitHub
cdk-module enhancement
Dominant language
Java
Stars
107
Forks
29
Avg merge
19h 46m
Merged PRs (30d)
141

Description

### Description / Background

When we introduced the REST API, we noticed that the existing use of API Gateway for web socket queries is using the raw CloudFormation CDK constructs instead of the constructs designed for the CDK.

We can adjust this to use the intended constructs as documented in the CDK.

### Technical Notes / Implementation Details

Here's the relevant CDK documentation:

https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_apigatewayv2-readme.html#websocket-api

This needs updating in WebSocketQueryStack.

We've used the proper constructs in RestApiStack.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.