hi guys, do you have any example of integrating aw...
# aws
b
hi guys, do you have any example of integrating aws.apigateway.Method, aws.apigateway.Integration, aws.apigateway.MethodResponse with an API created with awsx.apigateway.API? Specifically, I'd like to enable cors
Copy code
/**
 * routes
 */
export const routes: Route[] = [
  {
    path: '/api/speak',
    method: 'POST',
    eventHandler: speakApiLambdaFn,
  },
];

const aspScanApiEndpoint = new awsx.apigateway.API('myApi' {
  stageName: pulumi.getStack(),
  routes
});