import { AwsResource } from '../../cloudformation/resources/AwsResource';
/**
  The <code>AWS::Lambda::EventSourceMapping</code> resource creates a mapping between an event source and an AWS Lambda function. Lambda reads items from the event source and triggers the function.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html">the AWS Docs</a>
*/
export function eventSourceMapping(eventSourceMappingProps) {
    return new AwsResource('AWS::Lambda::EventSourceMapping', eventSourceMappingProps, { Id: 'Id' });
}
