Class: SubscriptionFilter

Logs.SubscriptionFilter

new SubscriptionFilter()

Properties:
Name Type Description
DestinationArn String Required: Yes. The Amazon Resource Name (ARN) of the Amazon Kinesis stream or Lambda function that you want to use as the subscription feed destination.Update requires: Replacement
FilterPattern String Required: Yes. The filtering expressions that restrict what gets delivered to the destination AWS resource. For more information about the filter pattern syntax, see Filter and Pattern Syntax in the Amazon CloudWatch Developer Guide.Update requires: Replacement
LogGroupName String Required: Yes. The log group to associate with the subscription filter. 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.Update requires: Replacement
RoleArn String Required: No. An IAM role that grants CloudWatch Logs permission to put data into the specified Amazon Kinesis stream. For Lambda and CloudWatch Logs destinations, don't specify this property because CloudWatch Logs gets the necessary permissions from the destination resource.Update requires: Replacement
Source:

Extends

  • WKResource

Logs.SubscriptionFilter

new SubscriptionFilter()

Properties:
Name Type Description
DestinationArn String Required: Yes. The Amazon Resource Name (ARN) of the Amazon Kinesis stream or Lambda function that you want to use as the subscription feed destination.Update requires: Replacement
FilterPattern String Required: Yes. The filtering expressions that restrict what gets delivered to the destination AWS resource. For more information about the filter pattern syntax, see Filter and Pattern Syntax in the Amazon CloudWatch Developer Guide.Update requires: Replacement
LogGroupName String Required: Yes. The log group to associate with the subscription filter. 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.Update requires: Replacement
RoleArn String Required: No. An IAM role that grants CloudWatch Logs permission to put data into the specified Amazon Kinesis stream. For Lambda and CloudWatch Logs destinations, don't specify this property because CloudWatch Logs gets the necessary permissions from the destination resource.Update requires: Replacement
Source:

Extends

  • WKResource