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.
PutLogEvents
requests and have them delivered
to a specific destination. Currently, the supported destinations are: Destination
)
belonging to a different account, for cross-account delivery. Currently there can only be one subscription filter associated with a log group.
Namespace: Amazon.CloudWatchLogs.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class PutSubscriptionFilterRequest : AmazonCloudWatchLogsRequest IRequestEvents
The PutSubscriptionFilterRequest type exposes the following members
Name | Description | |
---|---|---|
PutSubscriptionFilterRequest() |
Name | Type | Description | |
---|---|---|---|
DestinationArn | System.String |
Gets and sets the property DestinationArn.
The ARN of the destination to deliver matching log events to. Currently, the supported destinations are:
|
|
FilterName | System.String |
Gets and sets the property FilterName.
A name for the subscription filter. |
|
FilterPattern | System.String |
Gets and sets the property FilterPattern.
A valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events. |
|
LogGroupName | System.String |
Gets and sets the property LogGroupName.
The name of the log group to associate the subscription filter with. |
|
RoleArn | System.String |
Gets and sets the property RoleArn.
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 (used via an ARN of |
.NET Framework:
Supported in: 4.5, 4.0, 3.5