Class FirehoseSubscriptionProps
Properties for an Amazon Data Firehose subscription.
Inherited Members
Namespace: Amazon.CDK.AWS.SNS.Subscriptions
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class FirehoseSubscriptionProps : IFirehoseSubscriptionProps, ISubscriptionProps
Syntax (vb)
Public Class FirehoseSubscriptionProps Implements IFirehoseSubscriptionProps, ISubscriptionProps
Remarks
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.KinesisFirehose;
DeliveryStream stream;
var myTopic = new Topic(this, "Topic");
myTopic.AddSubscription(new FirehoseSubscription(stream, new FirehoseSubscriptionProps {
RawMessageDelivery = true
}));
Synopsis
Constructors
FirehoseSubscriptionProps() | Properties for an Amazon Data Firehose subscription. |
Properties
DeadLetterQueue | Queue to be used as dead letter queue. |
FilterPolicy | The filter policy. |
FilterPolicyWithMessageBody | The filter policy that is applied on the message body. |
RawMessageDelivery | Whether to remove any Amazon SNS metadata from published messages. |
Role | The role to assume to write messages to the Amazon Data Firehose delivery stream. |
Constructors
FirehoseSubscriptionProps()
Properties for an Amazon Data Firehose subscription.
public FirehoseSubscriptionProps()
Remarks
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.KinesisFirehose;
DeliveryStream stream;
var myTopic = new Topic(this, "Topic");
myTopic.AddSubscription(new FirehoseSubscription(stream, new FirehoseSubscriptionProps {
RawMessageDelivery = true
}));
Properties
DeadLetterQueue
Queue to be used as dead letter queue.
public IQueue? DeadLetterQueue { get; set; }
Property Value
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
IDictionary<string, SubscriptionFilter>
Remarks
Default: - all messages are delivered
FilterPolicyWithMessageBody
The filter policy that is applied on the message body.
public IDictionary<string, FilterOrPolicy>? FilterPolicyWithMessageBody { get; set; }
Property Value
IDictionary<string, FilterOrPolicy>
Remarks
To apply a filter policy to the message attributes, use filterPolicy
. A maximum of one of filterPolicyWithMessageBody
and filterPolicy
may be used.
Default: - all messages are delivered
RawMessageDelivery
Whether to remove any Amazon SNS metadata from published messages.
public bool? RawMessageDelivery { get; set; }
Property Value
bool?
Remarks
Role
The role to assume to write messages to the Amazon Data Firehose delivery stream.
public IRole? Role { get; set; }
Property Value
Remarks
Default: - A new Role is created