I'm converting some AWS CDK code to Pulumi, anothe...
# aws
d
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:
Copy code
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
@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