square-rocket-59657
12/13/2019, 2:19 AMlambda
to the onSchedule as it accepts a handler something like:
const lambda = new aws.lambda.Function("myfunc", {
code: undefined,
role: ";)",
handler: "index.handler",
runtime: aws.lambda.NodeJS10dXRuntime
},
{}
);
aws.cloudwatch.onSchedule("test", "rate(1 minute)", lambda.handler);