@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)",
date="2022-08-09T19:16:36.585Z")
public interface CfnSubscriptionFilterProps
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() |
java.lang.String |
getDestinationArn()
The Amazon Resource Name (ARN) of the destination.
|
java.lang.String |
getFilterPattern()
The filtering expressions that restrict what gets delivered to the destination AWS resource.
|
java.lang.String |
getLogGroupName()
The log group to associate with the subscription filter.
|
default java.lang.String |
getRoleArn()
The ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log events to the destination stream.
|
java.lang.String getDestinationArn()
java.lang.String getFilterPattern()
For more information about the filter pattern syntax, see Filter and Pattern Syntax .
java.lang.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.
default java.lang.String getRoleArn()
You don't need to provide the ARN when you are working with a logical destination for cross-account delivery.
static CfnSubscriptionFilterProps.Builder builder()
CfnSubscriptionFilterProps.Builder
of CfnSubscriptionFilterProps