05/09/2022, 2:23 PM
I'm converting some AWS CDK code to Pulumi, another thing I'm trying to do is something basic... call a Lambda Function (alias) from API Gateway as a REST API, like so:
const 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
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