Interface ISqsSubscriptionProps
Properties for an SQS subscription.
Inherited Members
Namespace: Amazon.CDK.AWS.SNS.Subscriptions
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ISqsSubscriptionProps : ISubscriptionProps
Syntax (vb)
Public Interface ISqsSubscriptionProps
Inherits ISubscriptionProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SNS;
using Amazon.CDK.AWS.SNS.Subscriptions;
using Amazon.CDK.AWS.SQS;
FilterOrPolicy filterOrPolicy;
Queue queue;
SubscriptionFilter subscriptionFilter;
var sqsSubscriptionProps = new SqsSubscriptionProps {
DeadLetterQueue = queue,
FilterPolicy = new Dictionary<string, SubscriptionFilter> {
{ "filterPolicyKey", subscriptionFilter }
},
FilterPolicyWithMessageBody = new Dictionary<string, FilterOrPolicy> {
{ "filterPolicyWithMessageBodyKey", filterOrPolicy }
},
RawMessageDelivery = false
};
Synopsis
Properties
RawMessageDelivery | The message to the queue is the same as it was sent to the topic. |
Properties
RawMessageDelivery
The message to the queue is the same as it was sent to the topic.
virtual Nullable<bool> RawMessageDelivery { get; }
Property Value
System.Nullable<System.Boolean>
Remarks
If false, the message will be wrapped in an SNS envelope.
Default: false