breezy-yak-9399210/07/2022, 1:40 PM
in the AWS Lambda docs; do the docs use some other term or does Pulumi simply not support creating triggers ?
mysterious-apartment-6224110/07/2022, 2:35 PM
You can also trigger the lambda to run when a bucket gets a new file
const schedule = aws.cloudwatch.onSchedule( "lambda-schedule", // This expression schedules the event to trigger at: // At 00:00, // for one or more days of the month, // for all months, // when it is a Monday, // for all years "cron(0 0 ? * MON *)", lambda );
breezy-yak-9399210/07/2022, 2:52 PM