Reputation: 88
I have 3 separate stacks (all in the same account and region)
How to create a rule that targets a lambda function located in a different stack using the CDK?
Upvotes: 1
Views: 707
Reputation: 8887
You just need to use Function.fromFunctionArn
to use the ARN.
Upvotes: 3