Hi there, i would like to create link trigger event (create s3 obj in bucket) for an existing lambda function. i found this old topic but it's not working on my cf stack.
that suggest this:
dataloader_retrier_scheduled_rule = t.add_resource(
events.Rule(
"DataloaderRetrierEventTriggerRule",
Name=suffix("DataloaderRetrierEventTriggerRule"),
Description="Reminding the lambda to read from the retry SQS",
Targets=[events.Target(
Id=suffix("DataloaderRetrierEventTriggerTarget"),
Arn=tr.GetAtt("DataloaderRetrier", "Arn"),
Input='{"Hey":"WAKE UP!"}'
)],
State='ENABLED',
ScheduleExpression="rate(1 minute)",
DependsOn="DataloaderRetrier"
)),
Have you got any suggestion? In documentation i cant find any information on that.