AwsLogsSubscriptionFilterPropertiesArgs

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

Definition of awsLogsSubscriptionFilter

Constructors

Link copied to clipboard
constructor(destinationArn: Output<String>? = null, distribution: Output<Either<String, Distribution>>? = null, filterName: Output<String>? = null, filterPattern: Output<String>? = null, logGroupName: Output<String>? = null, roleArn: Output<String>? = null)

Properties

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

The Amazon Resource Name (ARN) of the destination.

Link copied to clipboard
val distribution: Output<Either<String, Distribution>>? = null

The method used to distribute log data to the destination, which can be either random or grouped by log stream.

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

The name of the subscription filter.

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

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.

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

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.

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

The ARN of an IAM role that grants CWL 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.

Functions

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