Posted On: Feb 10, 2020
Amazon EventBridge now provides additional content filtering options for builders designing event-driven architectures. With event pattern content filtering, you can write complex rules that only trigger under conditions you specify. This helps reduce the amount of custom code needed in downstream services by handling content filtering at the event bus using a declarative approach.
The new functionality supports matching on numeric ranges, checking for the existence or absence of attributes, comparing string prefixes, and ‘anything-but’ comparisons for strings. Rules can include multiple filters to create complex combinations in a single event pattern. Events are delivered to targets only when rules are matched, potentially reducing traffic to downstream services and lowering cost. This feature is helpful for microservices that only use a subset of events available, moving filtering from the custom application to EventBridge.
Content filtering is supported everywhere EventBridge is available. EventBridge is available in the following Regions: US East (Ohio and N. Virginia), US West (Oregon and N. California), Canada (Central), EU (Stockholm, Paris, Ireland, Frankfurt, and London), Asia Pacific (Mumbai, Tokyo, Hong Kong, Seoul, Singapore, and Sydney), and South America (Sao Paulo).