magnificent-accountant-19074
05/05/2020, 6:54 PMaws.lambda.Alias
how can I wire it up with API
? I was not able to find any documentation on this.faint-table-42725
05/05/2020, 8:07 PMinvokeArn
to the uri
that an integration expects: https://www.pulumi.com/docs/reference/pkg/aws/apigateway/integration/magnificent-accountant-19074
05/06/2020, 6:50 AMnew API(name, {
routes: [
{
path: "/",
method: "ANY",
eventHandler: lambda,
},
{
path: "/{proxy+}",
method: "ANY",
eventHandler: lambda
}],
});
faint-table-42725
05/06/2020, 4:08 PMawsx
then? In which case, instead of using eventHandler
for the route, you’ll want to take a look at using an integration target: https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/awsx/apigateway/#IntegrationRouteTargetProvidermagnificent-accountant-19074
05/07/2020, 3:31 PM