Recently I had to implement Basic Auth in a AWS Serverless project. I found some resources online but not one that worked with CDK and TypeScript. So I wrote a blog post about it.
https://robbert.rocks/add-basic-auth-to-api-gateway-using-cdk-and-typescript
https://robbert.rocks/add-basic-auth-to-api-gateway-using-cdk-and-typescript