Class LogSubscriptionFilterState
Inherited Members
Namespace: Pulumi.Aws.CloudWatch
Assembly: Pulumi.Aws.dll
Syntax
public sealed class LogSubscriptionFilterState : ResourceArgs
Constructors
View SourceLogSubscriptionFilterState()
Declaration
public LogSubscriptionFilterState()
Properties
View SourceDestinationArn
The ARN of the destination to deliver matching log events to. Kinesis stream or Lambda function ARN.
Declaration
public Input<string> DestinationArn { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Distribution
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. Valid values are "Random" and "ByLogStream".
Declaration
public Input<string> Distribution { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
FilterPattern
A valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events.
Declaration
public Input<string> FilterPattern { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
LogGroup
The name of the log group to associate the subscription filter with
Declaration
public Input<string> LogGroup { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
A name for the subscription filter
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RoleArn
The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to deliver ingested log events to the destination. If you use Lambda as a destination, you should skip this argument and use aws.lambda.Permission resource for granting access from CloudWatch logs to the destination Lambda function.
Declaration
public Input<string> RoleArn { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |