Values.PutDestinationRequestSourceCreates or updates a destination. This operation is used only to create destinations for cross-account subscriptions. A destination encapsulates a physical resource (such as an Amazon Kinesis stream). With a destination, you can subscribe to a real-time stream of log events for a different account, ingested using PutLogEvents. Through an access policy, a destination controls what is written to it. By default, PutDestination does not set any access policy with the destination, which means a cross-account user cannot call PutSubscriptionFilter against this destination. To enable this, the destination owner must call PutDestinationPolicy after PutDestination. To perform a PutDestination operation, you must also have the iam:PassRole permission.
type nonrec t = {destinationName : DestinationName.t;A name for the destination.
*)targetArn : TargetArn.t;The ARN of an Amazon Kinesis stream to which to deliver matching log events.
*)roleArn : RoleArn.t;The ARN of an IAM role that grants CloudWatch Logs permissions to call the Amazon Kinesis PutRecord operation on the destination stream.
*)}val make :
?tags:??? ->
destinationName:DestinationName.t ->
targetArn:TargetArn.t ->
roleArn:RoleArn.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Map of
([> `String of TagKey.t ] * [> `String of TagValue.t ]) list
| `String of DestinationName.t ])
list ]