source: https://www.sccbrasil.com/blog/aws/cdk-api.html
By Wolfgang Unger
Lets have a look how to create a API Gateway with CDK (Python) The first approach is using the RestApi Class and code the resources and methods. The second by using a Swagger/Open API file. Both APIs will use lambda integrations.