Maps an event source to a Lambda function
import { EventSourceMapping } from 'aws-cdk-lib/aws-lambda';Or use the module namespace:
import * as lambda from 'aws-cdk-lib/aws-lambda'; // lambda.EventSourceMapping
This L2 construct creates and manages the following CloudFormation resources.
Everything you need to know about AWS Lambda on one page. HD quality, print-friendly.
Download Free Infographicaws-lambda