Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

(aws-lambda-event-sources): FilterCriteria for SQS eventsources #20338

Closed
2 tasks
hongnan0512 opened this issue May 13, 2022 · 2 comments
Closed
2 tasks

(aws-lambda-event-sources): FilterCriteria for SQS eventsources #20338

hongnan0512 opened this issue May 13, 2022 · 2 comments
Assignees
Labels
@aws-cdk/aws-lambda-event-sources feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged.

Comments

@hongnan0512
Copy link

Describe the feature

Filtering event sources for AWS Lambda functions.This helps reduce requests made to your Lambda functions, may simplify code, and can reduce overall cost.

Use Case

Consider a logistics company with a fleet of vehicles in the field. Each vehicle is enabled with sensors and 4G/5G connectivity to emit telemetry data into Kinesis Data Streams:

In one scenario, they use machine learning models to infer the health of vehicles based on each payload of telemetry data, which is outlined in example 2 on the [Lambda pricing page](https://aws.amazon.com/lambda/pricing/).
In another scenario, they want to invoke a function, but only when tire pressure is low on any of the tires.

If tire pressure is low, the company notifies the maintenance team to check the tires when the vehicle returns. The process checks if the warehouse has enough spare replacements. Optionally, it notifies the purchasing team to buy additional tires.

Proposed Solution

No response

Other Information

No response

Acknowledgements

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

CDK version used

v2

Environment details (OS name and version, etc.)

mac

@hongnan0512 hongnan0512 added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels May 13, 2022
@kaizencc
Copy link
Contributor

Closing this as a duplicate of #17874. There's a PR open for it, so we're working on getting this out there.

@github-actions
Copy link

⚠️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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-lambda-event-sources feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

No branches or pull requests

2 participants