0

I want to trigger a lambda on SFTPConnectorDirectoryListingCompleted coming from aws.transfer. The doc claims that Transfer will deliver events to the default bus. However, from the console, I cannot see any such events by monitoring the default bus.

I've written a rule to trigger a lambda, but until an event actually happens, clearly it's not going to do anything. I provide it here just to give some context on what I'm up to.

 const triggerStartCopiesEventRule = new events.Rule(this, "TriggerStartCopiesRule", {
 description: "Trigger the start-copies lambda",
 ruleName: "TriggerStartCopiesRule",
 eventBus: defaultEventBus,
 eventPattern: {
 source: ["aws.transfer"],
 detail: {
 eventName: events.Match.exactString("SFTPConnectorDirectoryListingCompleted"),
 connectorId: events.Match.exactString(connector.attrConnectorId),
 },
 },
 targets: [new targets.LambdaFunction(startCopiesHandler)],
 });
asked May 21, 2025 at 15:15

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.