SubscriptionFilterArgs

data class SubscriptionFilterArgs(val destinationArn: Output<String>? = null, val distribution: Output<SubscriptionFilterDistribution>? = null, val filterName: Output<String>? = null, val filterPattern: Output<String>? = null, val logGroupName: Output<String>? = null, val roleArn: Output<String>? = null) : ConvertibleToJava<SubscriptionFilterArgs>

Subscription filters allow you to subscribe to a real-time stream of log events and have them delivered to a specific destination.

Constructors

Link copied to clipboard
fun SubscriptionFilterArgs(destinationArn: Output<String>? = null, distribution: Output<SubscriptionFilterDistribution>? = null, filterName: Output<String>? = null, filterPattern: Output<String>? = null, logGroupName: Output<String>? = null, roleArn: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): SubscriptionFilterArgs

Properties

Link copied to clipboard
val destinationArn: Output<String>? = null

The Amazon Resource Name (ARN) of the destination.

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

Link copied to clipboard
val filterName: Output<String>? = null

The name of the filter generated by resource.

Link copied to clipboard
val filterPattern: Output<String>? = null

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

Link copied to clipboard
val logGroupName: Output<String>? = null

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

Link copied to clipboard
val roleArn: Output<String>? = null

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.