busy-toothbrush-90194
10/06/2023, 2:45 PMconst api = new apigateway.RestAPI("api", {
routes: [
{
path: "/",
method: "GET",
eventHandler: helloHandler,
},
],
});
busy-toothbrush-90194
10/06/2023, 3:09 PMbusy-toothbrush-90194
10/06/2023, 5:17 PMiamAuthEnabled
is the key, got confused between apigateway.RestAPI
& apigateway.RestApi