AWS SDK Version 2 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.

.NET Framework 3.5
Container for the parameters to the PutDestination operation. Creates or updates a 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.

Inheritance Hierarchy


Namespace: Amazon.CloudWatchLogs.Model
Assembly: AWSSDK.dll
Version: (assembly version)


public class PutDestinationRequest : AmazonCloudWatchLogsRequest

The PutDestinationRequest type exposes the following members


Public Method PutDestinationRequest()


Public Property DestinationName System.String Gets and sets the property DestinationName.

A name for the destination.

Public Property 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.

Public Property TargetArn System.String Gets and sets the property TargetArn.

The ARN of an Amazon Kinesis stream to deliver matching log events to.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5