cold-yacht-45876
01/24/2022, 6:58 AMconst api = new awsx.apigateway.API(`${stackName}-web-api`, {
routes: [{
path: "{proxy+}",
method: "ANY",
eventHandler: lambda,
apiKeyRequired: true,
}],
restApiArgs: {
endpointConfiguration: {
types: "REGIONAL"
},
},
stageName: environmentType
});
, but now I want to have API Gateway to target a lambda alias instead of the actual lambda. I can't seem to figure out how. Any ideas?great-queen-39697
01/24/2022, 8:05 PMlambda
in your code?