generated from amazon-archives/__template_Apache-2.0
-
Couldn't load subscription status.
- Fork 75
Open
Labels
enhancementNew feature or requestNew feature or request
Description
What is your idea?
This has come up in several user discussions, especially around change data capture (CDC) that is often used with EventBridge Pipes and EventBridge Kafka Sink Connector, so posting here as a feature request.
Currently it is not possible to pattern match across fields in a JSON object e.g., a DynamoDB stream event (snippet) where I want to filter events that have a common (or different) value across fields, such as the value of "S" in "NewImage" and "OldImage" below.
{
"NewImage" : {
"Status" : {
"S" : "OK"
}
},
"OldImage": {
"Status": {
"S": "ERROR"
}
}
}Another (non-CDC) example:
{
"detail": {
"brand": "Ford",
"model": "Focus",
"colour": "Blue",
"interior-colour": "Black"
}
}Suggested pattern:
{
"detail": {
"interior-colour": [ { "anything-but": "$.detail.colour" } ]
}
}Would you be willing to make the change?
No
Additional context
Add any other context (such as images, docs, posts) about the idea here.
xC-Stony, rfrankdisw and vagharshakmoia
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request