https://pulumi.com logo
b

breezy-agency-15661

12/13/2019, 1:48 AM
but how to do the same if I go from the following:
Copy code
aws.cloudwatch.onSchedule("test", "rate(1 minute)", async (event) => {
    try {
        console.log(`current time: ${Date.now()}`);
    } catch (e) {
        console.log(e);
    }
});