Class SnsBuilder
Fluent builder for an sns:// endpoint URI.
public sealed class SnsBuilder
Inheritance
Methods
AutoCreateTopic(bool)
Create the topic if it does not exist.
public SnsBuilder AutoCreateTopic(bool value = true)
ConnectionFactory(string)
Reference a pre-registered connection factory by name.
public SnsBuilder ConnectionFactory(string name)
Credentials(string, string)
Static access + secret keys.
public SnsBuilder Credentials(string accessKey, string secretKey)
MessageDeduplicationId(string)
FIFO deduplication id.
public SnsBuilder MessageDeduplicationId(string value)
MessageStructure(string)
Message structure (json for per-protocol payloads).
public SnsBuilder MessageStructure(string structure)
Param(string, string)
Sets an arbitrary URI parameter not covered by a typed method.
public SnsBuilder Param(string key, string value)
RawMessageDelivery(bool)
On the auto-created SNS→SQS subscription, enable raw message delivery — the queue receives the
public SnsBuilder RawMessageDelivery(bool value = true)
Subject(string)
Message subject (email delivery; constant or ${...}).
public SnsBuilder Subject(string subject)
SubscribeSnsToSqs(string)
Subscribe the given SQS queue ARN to this topic at start.
public SnsBuilder SubscribeSnsToSqs(string queueArn)
Transacted(bool)
Sets transacted: true requires an enclosing .Transacted() block, false publishes at
public SnsBuilder Transacted(bool value = true)
UseDefaultCredentials(bool)
Use the default AWS credential provider chain.
public SnsBuilder UseDefaultCredentials(bool value = true)