Table of Contents

Class AwsSqsSubscriptionOptions

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

Configuration options for an SNS-to-SQS subscription.

public sealed class AwsSqsSubscriptionOptions
Inheritance
AwsSqsSubscriptionOptions
Inherited Members
Extension Methods

Remarks

Defines how messages from an SNS topic are delivered to an SQS queue, including filter policy configuration for selective message routing.

Properties

FilterPolicy

Gets or sets the filter policy for this subscription.

public AwsSqsFilterPolicyOptions? FilterPolicy { get; set; }

Property Value

AwsSqsFilterPolicyOptions

The filter policy options, or null if no filtering is configured.

Remarks

Filter policies allow selective message delivery based on message attributes. Only messages matching the filter policy are delivered to the queue.

HasFilterPolicy

Gets a value indicating whether a filter policy is configured.

public bool HasFilterPolicy { get; }

Property Value

bool

true if a filter policy exists; otherwise, false.

QueueUrl

Gets or sets the SQS queue URL or ARN to receive messages.

public string QueueUrl { get; set; }

Property Value

string

The SQS queue URL or ARN.

RawMessageDelivery

Gets or sets a value indicating whether to enable raw message delivery for this subscription.

public bool? RawMessageDelivery { get; set; }

Property Value

bool?

true to deliver raw messages; null to use the default from RawMessageDelivery. Default is null.

TopicArn

Gets or sets the SNS topic ARN to subscribe to.

public string TopicArn { get; set; }

Property Value

string

The full SNS topic ARN.