Type object
Schema URL https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-logs-subscriptionfilter.json
Parent schema serverless-framework-configuration
Type: object

Subscription filters allow you to subscribe to a real-time stream of log events and have them delivered to a specific destination.. Source:- https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-logs

Properties

DestinationArn string | Aws_CF_FunctionString required

The Amazon Resource Name (ARN) of the destination.

FilterPattern string | Aws_CF_FunctionString required

The filtering expressions that restrict what gets delivered to the destination AWS resource.

LogGroupName string | Aws_CF_FunctionString required

Existing log group that you want to associate with this filter.

FilterName string | Aws_CF_FunctionString

The name of the filter generated by resource.

RoleArn string | Aws_CF_FunctionString

The ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log events to the destination stream. You don't need to provide the ARN when you are working with a logical destination for cross-account delivery.

Distribution string | Aws_CF_FunctionString

The method used to distribute log data to the destination. By default, log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream.