Interface ISubscriptionProps
Properties for creating a new subscription.
Inherited Members
Namespace: Amazon.CDK.AWS.SNS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ISubscriptionProps : ISubscriptionOptions
Syntax (vb)
Public Interface ISubscriptionProps
Inherits ISubscriptionOptions
Remarks
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.KinesisFirehose;
DeliveryStream stream;
var topic = new Topic(this, "Topic");
new Subscription(this, "Subscription", new SubscriptionProps {
Topic = topic,
Endpoint = stream.DeliveryStreamArn,
Protocol = SubscriptionProtocol.FIREHOSE,
SubscriptionRoleArn = "SAMPLE_ARN"
});
Synopsis
Properties
Topic | The topic to subscribe to. |