Show / Hide Table of Contents

Class SubscriptionProps

Options to subscribing to an SNS topic.

Inheritance
System.Object
SubscriptionProps
Implements
ISubscriptionProps
Namespace: Amazon.CDK.AWS.SNS.Subscriptions
Assembly: Amazon.CDK.AWS.SNS.Subscriptions.dll
Syntax (csharp)
public class SubscriptionProps : Object, ISubscriptionProps
Syntax (vb)
Public Class SubscriptionProps
    Inherits Object
    Implements 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 subscriptionProps = new SubscriptionProps {
    DeadLetterQueue = queue,
    FilterPolicy = new Dictionary<string, SubscriptionFilter> {
        { "filterPolicyKey", subscriptionFilter }
    }
};

Synopsis

Constructors

SubscriptionProps()

Properties

DeadLetterQueue

Queue to be used as dead letter queue.

FilterPolicy

The filter policy.

Constructors

SubscriptionProps()

public SubscriptionProps()

Properties

DeadLetterQueue

Queue to be used as dead letter queue.

public IQueue DeadLetterQueue { get; set; }
Property Value

IQueue

Remarks

If not passed no dead letter queue is enabled.

Default: - No dead letter queue enabled.

FilterPolicy

The filter policy.

public IDictionary<string, SubscriptionFilter> FilterPolicy { get; set; }
Property Value

System.Collections.Generic.IDictionary<System.String, SubscriptionFilter>

Remarks

Default: - all messages are delivered

Implements

ISubscriptionProps
Back to top Generated by DocFX