Interface IUrlSubscriptionProps
Options for URL subscriptions.
Namespace: Amazon.CDK.AWS.SNS.Subscriptions
Assembly: Amazon.CDK.AWS.SNS.Subscriptions.dll
Syntax (csharp)
public interface IUrlSubscriptionProps : ISubscriptionProps
Syntax (vb)
Public Interface IUrlSubscriptionProps
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;
Queue queue;
SubscriptionFilter subscriptionFilter;
var urlSubscriptionProps = new UrlSubscriptionProps {
DeadLetterQueue = queue,
FilterPolicy = new Dictionary<string, SubscriptionFilter> {
{ "filterPolicyKey", subscriptionFilter }
},
Protocol = SubscriptionProtocol.HTTP,
RawMessageDelivery = false
};
Synopsis
Properties
Protocol | The subscription's protocol. |
RawMessageDelivery | The message to the queue is the same as it was sent to the topic. |
Properties
Protocol
The subscription's protocol.
virtual Nullable<SubscriptionProtocol> Protocol { get; }
Property Value
System.Nullable<SubscriptionProtocol>
Remarks
Default: - Protocol is derived from url
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