@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.703Z") @Stability(value=Stable) public interface CfnSubscriptionFilterProps extends software.amazon.jsii.JsiiSerializable
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.*;
CfnSubscriptionFilterProps cfnSubscriptionFilterProps = CfnSubscriptionFilterProps.builder()
.destinationArn("destinationArn")
.filterPattern("filterPattern")
.logGroupName("logGroupName")
// the properties below are optional
.roleArn("roleArn")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnSubscriptionFilterProps.Builder
A builder for
CfnSubscriptionFilterProps |
static class |
CfnSubscriptionFilterProps.Jsii$Proxy
An implementation for
CfnSubscriptionFilterProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnSubscriptionFilterProps.Builder |
builder() |
String |
getDestinationArn()
The Amazon Resource Name (ARN) of the destination.
|
String |
getFilterPattern()
The filtering expressions that restrict what gets delivered to the destination AWS resource.
|
String |
getLogGroupName()
The log group to associate with the subscription filter.
|
default String |
getRoleArn()
The ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log events to the destination stream.
|
@Stability(value=Stable) @NotNull String getDestinationArn()
@Stability(value=Stable) @NotNull String getFilterPattern()
For more information about the filter pattern syntax, see Filter and Pattern Syntax .
@Stability(value=Stable) @NotNull String getLogGroupName()
All log events that are uploaded to this log group are filtered and delivered to the specified AWS resource if the filter pattern matches the log events.
@Stability(value=Stable) @Nullable default String getRoleArn()
You don't need to provide the ARN when you are working with a logical destination for cross-account delivery.
@Stability(value=Stable) static CfnSubscriptionFilterProps.Builder builder()
CfnSubscriptionFilterProps.Builder of CfnSubscriptionFilterPropsCopyright © 2022. All rights reserved.