(aws-lambda-event-sources) there is no ALB as Event Source
Even if I can add ALB as trigger to any lambda function, I couldn't find ALB on aws-lambda-event-sources.
There is a workaround posted in stackoweflow however, I don't see ALB attached as trigger to my Lambda Function.
Is there any way to add ALB as trigger to Lambda Function with CDK?
Thanks.
ALB is able to trigger Lambda directly without the need for Event Source Mapping which is why it is not supported here or in CloudFormation. The posted link is not a workaround, the supported way is to use ALB targets, see “Using Lambda as Target” section from here https://docs.aws.amazon.com/cdk/api/latest/docs/aws-elasticloadbalancingv2-readme.html
Closing this issue thanks to @msimpsonnz response.
⚠️COMMENT VISIBILITY WARNING⚠️
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.