sparse-intern-71089
05/11/2020, 9:57 AMfuture-barista-68134
05/11/2020, 2:26 PMreturn new API(name, {
routes: [
{
path: "/",
target: {
uri: "arn:aws:apigateway:eu-central-1:lambda:path/2015-03-31/functions/arn:aws:lambda:eu-central-1:051069080387:function:deploy-test-4-lambda/invocations",
type: "aws_proxy",
},
],
stageName: name + "-stage"
}, { provider });
future-barista-68134
05/11/2020, 2:35 PMgetFunction
and use the invokeArn
property from the result to input into the API gateway integration route. See: https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/aws/lambda/#GetFunctionResult-invokeArnmagnificent-accountant-19074
05/11/2020, 3:10 PMfuture-barista-68134
05/11/2020, 3:41 PMmagnificent-accountant-19074
05/11/2020, 3:42 PM