Builder

class Builder

Properties

Link copied to clipboard

The ARN of the destination to deliver matching log events to. Currently, the supported destinations are:

Link copied to clipboard

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 data stream.

Link copied to clipboard

A name for the subscription filter. If you are updating an existing filter, you must specify the correct name in filterName. To find the name of the filter currently associated with a log group, use DescribeSubscriptionFilters.

Link copied to clipboard

A filter pattern for subscribing to a filtered stream of log events.

Link copied to clipboard

The name of the log group.

Link copied to clipboard

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.