Avoid Adding a Resource Policy to Lambda While Creating EventBridge Rule Using CDK
Problem Statement: I want to create n numbers of EventBridge Rules where the target resource is a Lambda using CDK. While creating the Rule, EventBridge automatically creates a resource policy for lambda that look like this: { “Version”: “2012-10-17”, “Id”: “default”, “Statement”: [ { “Sid”: “EventBridge-Rule-1”, “Effect”: “Allow”, “Principal”: { “Service”: “events.amazonaws.com” }, “Action”: “lambda:InvokeFunction”, […]
Issue with AWS Lambda and EventBridge – Schedule not working as expected
I am facing an issue while configuring AWS Lambda with EventBridge. I set up the scheduling, but when I create the schedule, it gets executed immediately upon creation and does not follow the intended schedule.
Lambda not being triggered despite seemingly proper EventBridge rule setup?
I have an EventBridge rule that captures all resource modifications from Cloudtrail: