Class SnsEndpointOptions
Options for an SNS endpoint (sns://topic-name?...). SNS is publish-only (there is no pull
consumer — delivery is push to SQS/HTTP/email/SMS), so these options drive the publisher plus the
optional SNS→SQS auto-subscription convenience.
public sealed class SnsEndpointOptions : AwsEndpointOptions
Inheritance
Inherited Members
Properties
AutoCreateTopic
Create the topic if it does not exist (FIFO when the name ends in .fifo). Default false.
public bool AutoCreateTopic { get; set; }
MessageDeduplicationId
FIFO deduplication id. Supports ${...} expressions. Omit for content-based dedup.
public DynamicValue<string>? MessageDeduplicationId { get; set; }
MessageGroupId
FIFO topic message group id. Supports ${...} expressions.
public DynamicValue<string>? MessageGroupId { get; set; }
MessageStructure
Set to json to send a protocol-specific message structure (per-transport payloads).
public string MessageStructure { get; set; }
RawMessageDelivery
When auto-subscribing via , also set the subscription's
public bool RawMessageDelivery { get; set; }
Subject
Optional message subject (used by email delivery). Supports ${...} expressions.
public string Subject { get; set; }
SubscribeQueueArn
ARN of the SQS queue to subscribe when is true.
public string SubscribeQueueArn { get; set; }
SubscribeSnsToSqs
At start, subscribe the SQS queue named by to this topic. Default false.
public bool SubscribeSnsToSqs { get; set; }
TopicArn
Explicit topic ARN. When empty it is resolved from the topic name (path) at start.
public string TopicArn { get; set; }
Transacted
Whether the publish joins the enclosing .Transacted() block. Unset, it follows the block: deferred until
public bool? Transacted { get; set; }
Methods
Validate()
Validates required parameters and constraints. Called after BindFromUri.
public override void Validate()