@Stability(value=Experimental) public static final class SubscriptionFilterProps.Builder extends Object implements software.amazon.jsii.Builder<SubscriptionFilterProps>
SubscriptionFilterProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
SubscriptionFilterProps |
build()
Builds the configured instance.
|
SubscriptionFilterProps.Builder |
destination(ILogSubscriptionDestination destination)
Sets the value of
SubscriptionFilterOptions.getDestination() |
SubscriptionFilterProps.Builder |
filterPattern(IFilterPattern filterPattern)
Sets the value of
SubscriptionFilterOptions.getFilterPattern() |
SubscriptionFilterProps.Builder |
logGroup(ILogGroup logGroup)
Sets the value of
SubscriptionFilterProps.getLogGroup() |
@Stability(value=Experimental) public SubscriptionFilterProps.Builder logGroup(ILogGroup logGroup)
SubscriptionFilterProps.getLogGroup()logGroup - The log group to create the subscription on. This parameter is required.this@Stability(value=Experimental) public SubscriptionFilterProps.Builder destination(ILogSubscriptionDestination destination)
SubscriptionFilterOptions.getDestination()destination - The destination to send the filtered events to. This parameter is required.
For example, a Kinesis stream or a Lambda function.this@Stability(value=Experimental) public SubscriptionFilterProps.Builder filterPattern(IFilterPattern filterPattern)
SubscriptionFilterOptions.getFilterPattern()filterPattern - Log events matching this pattern will be sent to the destination. This parameter is required.this@Stability(value=Experimental) public SubscriptionFilterProps build()
build in interface software.amazon.jsii.Builder<SubscriptionFilterProps>SubscriptionFilterPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.