Table of Contents

Class AwsSqsFilterCondition

Namespace
Excalibur.Dispatch.Transport.Aws
Assembly
Excalibur.Dispatch.Transport.AwsSqs.dll

Represents a single filter condition in an SNS subscription filter policy.

public sealed class AwsSqsFilterCondition
Inheritance
AwsSqsFilterCondition
Inherited Members
Extension Methods

Remarks

AWS SNS supports several filter operators:

  • Exact match: "value"
  • Prefix: {"prefix": "value"}
  • Suffix: {"suffix": "value"}
  • Anything-but: {"anything-but": ["value1", "value2"]}
  • Exists: {"exists": true}
  • Numeric: {"numeric": [">=", 100]}

Properties

NumericComparison

Gets or sets the numeric comparison operator for numeric filters.

public string? NumericComparison { get; set; }

Property Value

string

The comparison operator (e.g., "=", ">", ">=", "<", "<=", "between"). Only used when Operator is Numeric.

Operator

Gets or sets the filter operator type.

public AwsSqsFilterOperator Operator { get; set; }

Property Value

AwsSqsFilterOperator

The operator type.

Values

Gets or sets the value(s) for the filter condition.

public List<object> Values { get; set; }

Property Value

List<object>

A single value for exact match, prefix, suffix, or exists operators. Multiple values for anything-but operator.