Open mazyu36 opened 3 months ago
A DocumentDB event source mapping is supported in lambda event source mappings.
But L2 Construct does not exist.
See Lambda event source mappings
To use DocumentDB as a event source.
Add DocumentDBSource class to the aws_lambda_event_sources.
DocumentDBSource
aws_lambda_event_sources
No response
2.141.0
MacOS
Yes we should add a class that implements IEventSource.
IEventSource
https://github.com/aws/aws-cdk/blob/7624c62ffd293187749f742de70695af9b5f4f87/packages/aws-cdk-lib/aws-lambda-event-sources/lib/s3.ts#L23
Thank you for your PR!
Describe the feature
A DocumentDB event source mapping is supported in lambda event source mappings.
But L2 Construct does not exist.
See Lambda event source mappings
Use Case
To use DocumentDB as a event source.
Proposed Solution
Add
DocumentDBSource
class to theaws_lambda_event_sources
.Other Information
No response
Acknowledgements
CDK version used
2.141.0
Environment details (OS name and version, etc.)
MacOS