I’m looking for a way to set the node runtime for ...
# general
b
I’m looking for a way to set the node runtime for the lambda function when creating the lambda for a scheduled job. If I create the lambda directly, I can do something like this:
Copy code
const lambda = new aws.lambda.Function("myfunc", {
        code: undefined,
        role: ";)",
        handler: "index.handler",
        runtime: aws.lambda.NodeJS10dXRuntime
    },
    {}
);