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.
Destination
. A destination encapsulates a physical
resource (such as a Kinesis stream) and allows you to subscribe to a real-time stream
of log events of a different account, ingested through PutLogEvents
requests. Currently, the only supported physical resource is a Amazon Kinesis stream
belonging to the same account as the destination.
A destination controls what is written to its Amazon Kinesis stream through an access
policy. By default, PutDestination does not set any access policy with the destination,
which means a cross-account user will not be able to call PutSubscriptionFilter
against this destination. To enable that, the destination owner must call PutDestinationPolicy
after PutDestination.
Namespace: Amazon.CloudWatchLogs.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class PutDestinationRequest : AmazonCloudWatchLogsRequest IRequestEvents
The PutDestinationRequest type exposes the following members
Name | Description | |
---|---|---|
PutDestinationRequest() |
Name | Type | Description | |
---|---|---|---|
DestinationName | System.String |
Gets and sets the property DestinationName.
A name for the destination. |
|
RoleArn | System.String |
Gets and sets the property RoleArn.
The ARN of an IAM role that grants CloudWatch Logs permissions to do Amazon Kinesis PutRecord requests on the desitnation stream. |
|
TargetArn | System.String |
Gets and sets the property TargetArn.
The ARN of an Amazon Kinesis stream to deliver matching log events to. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5