AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Represents a subscription filter.

Inheritance Hierarchy

System.Object
  Amazon.CloudWatchLogs.Model.SubscriptionFilter

Namespace: Amazon.CloudWatchLogs.Model
Assembly: AWSSDK.CloudWatchLogs.dll
Version: 3.x.y.z

Syntax

C#
public class SubscriptionFilter

The SubscriptionFilter type exposes the following members

Constructors

NameDescription
Public Method SubscriptionFilter()

Properties

NameTypeDescription
Public Property ApplyOnTransformedLogs System.Boolean

Gets and sets the property ApplyOnTransformedLogs.

This parameter is valid only for log groups that have an active log transformer. For more information about log transformers, see PutTransformer.

If this value is true, the subscription filter is applied on the transformed version of the log events instead of the original ingested log events.

Public Property CreationTime System.Int64

Gets and sets the property CreationTime.

The creation time of the subscription filter, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

Public Property DestinationArn System.String

Gets and sets the property DestinationArn.

The Amazon Resource Name (ARN) of the destination.

Public Property Distribution Amazon.CloudWatchLogs.Distribution

Gets and sets the property Distribution.

Public Property FilterName System.String

Gets and sets the property FilterName.

The name of the subscription filter.

Public Property FilterPattern System.String

Gets and sets the property FilterPattern.

Public Property LogGroupName System.String

Gets and sets the property LogGroupName.

The name of the log group.

Public Property RoleArn System.String

Gets and sets the property RoleArn.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5