Class SubscriptionFilterOptions
Properties for a new SubscriptionFilter created from a LogGroup.
Inheritance
System.Object
SubscriptionFilterOptions
Implements
Namespace: Amazon.CDK.AWS.Logs
Assembly: Amazon.CDK.AWS.Logs.dll
Syntax (csharp)
public class SubscriptionFilterOptions : Object, ISubscriptionFilterOptions
Syntax (vb)
Public Class SubscriptionFilterOptions
Inherits Object
Implements ISubscriptionFilterOptions
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.Logs;
IFilterPattern filterPattern;
ILogSubscriptionDestination logSubscriptionDestination;
var subscriptionFilterOptions = new SubscriptionFilterOptions {
Destination = logSubscriptionDestination,
FilterPattern = filterPattern
};
Synopsis
Constructors
SubscriptionFilterOptions() |
Properties
Destination | The destination to send the filtered events to. |
FilterPattern | Log events matching this pattern will be sent to the destination. |
Constructors
SubscriptionFilterOptions()
public SubscriptionFilterOptions()
Properties
Destination
The destination to send the filtered events to.
public ILogSubscriptionDestination Destination { get; set; }
Property Value
Remarks
For example, a Kinesis stream or a Lambda function.
FilterPattern
Log events matching this pattern will be sent to the destination.
public IFilterPattern FilterPattern { get; set; }
Property Value