SubscriptionFilter

class SubscriptionFilter : KotlinCustomResource

The `AWS::Logs::SubscriptionFilter` resource specifies a subscription filter and associates it with the specified log group. Subscription filters allow you to subscribe to a real-time stream of log events and have them delivered to a specific destination. Currently, the supported destinations are:

  • An Amazon Kinesis data stream belonging to the same account as the subscription filter, for same-account delivery.

  • A logical destination that belongs to a different account, for cross-account delivery.

  • An Amazon Kinesis Firehose delivery stream that belongs to the same account as the subscription filter, for same-account delivery.

  • An LAMlong function that belongs to the same account as the subscription filter, for same-account delivery. There can be as many as two subscription filters associated with a log group.

Properties

Link copied to clipboard
val destinationArn: Output<String>

The Amazon Resource Name (ARN) of the destination.

Link copied to clipboard

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>?

The name of the subscription filter.

Link copied to clipboard
val filterPattern: Output<String>

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 id: Output<String>
Link copied to clipboard
val logGroupName: Output<String>

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 pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val roleArn: Output<String>?

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.

Link copied to clipboard
val urn: Output<String>