delightful-monkey-90700
05/09/2022, 2:23 PMconst restAPI = new AWSAPIGateway.LambdaRestApi(stack, 'restAPI', {
handler: nodeAlias,
proxy: true,
restApiName: `xxx-http-${environment}`,
deploy: true,
deployOptions: {
stageName: 'api'
},
endpointConfiguration: {
types: [AWSAPIGateway.EndpointType.REGIONAL]
}
});
I tried using @pulumi/aws-apigateway
but I can't figure out how to make the handler refer to a Lambda Function's alias, and also how to make it a regional API