Interface SubscriptionFilterOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
SubscriptionFilterProps
- All Known Implementing Classes:
SubscriptionFilterOptions.Jsii$Proxy
,SubscriptionFilterProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:38.141Z")
@Stability(Stable)
public interface SubscriptionFilterOptions
extends software.amazon.jsii.JsiiSerializable
Properties for a new SubscriptionFilter created from a LogGroup.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.logs.*; IFilterPattern filterPattern; ILogSubscriptionDestination logSubscriptionDestination; SubscriptionFilterOptions subscriptionFilterOptions = SubscriptionFilterOptions.builder() .destination(logSubscriptionDestination) .filterPattern(filterPattern) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forSubscriptionFilterOptions
static final class
An implementation forSubscriptionFilterOptions
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The destination to send the filtered events to.Log events matching this pattern will be sent to the destination.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDestination
The destination to send the filtered events to.For example, a Kinesis stream or a Lambda function.
-
getFilterPattern
Log events matching this pattern will be sent to the destination. -
builder
- Returns:
- a
SubscriptionFilterOptions.Builder
ofSubscriptionFilterOptions
-