Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

(lambda_event_sources): DocumentDB eventSource not supported #30213

Open
1 of 2 tasks
mazyu36 opened this issue May 15, 2024 · 1 comment
Open
1 of 2 tasks

(lambda_event_sources): DocumentDB eventSource not supported #30213

mazyu36 opened this issue May 15, 2024 · 1 comment
Labels
@aws-cdk/aws-lambda-event-sources effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p2

Comments

@mazyu36
Copy link
Contributor

mazyu36 commented May 15, 2024

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 the aws_lambda_event_sources.

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.141.0

Environment details (OS name and version, etc.)

MacOS

@mazyu36 mazyu36 added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels May 15, 2024
@khushail khushail added investigating This issue is being investigated and/or work is in progress to resolve the issue. and removed needs-triage This issue or PR still needs to be triaged. labels May 15, 2024
@khushail khushail self-assigned this May 15, 2024
@pahud
Copy link
Contributor

pahud commented May 16, 2024

Yes we should add a class that implements IEventSource.

export class S3EventSource implements lambda.IEventSource {

Thank you for your PR!

@pahud pahud added p1 effort/medium Medium work item – several days of effort and removed investigating This issue is being investigated and/or work is in progress to resolve the issue. labels May 16, 2024
@khushail khushail removed their assignment May 16, 2024
@pahud pahud added p2 and removed p1 labels Jun 11, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
@aws-cdk/aws-lambda-event-sources effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p2
Projects
None yet
Development

No branches or pull requests

3 participants