Creates or updates a destination. This operation is used only to create destinations for cross-account subscriptions.
See https://www.paws-r-sdk.com/docs/cloudwatchlogs_put_destination/ for full documentation.
cloudwatchlogs_put_destination(
destinationName,
targetArn,
roleArn,
tags = NULL
)
[required] A name for the destination.
[required] The ARN of an Amazon Kinesis stream to which to deliver matching log events.
[required] The ARN of an IAM role that grants CloudWatch Logs permissions to call
the Amazon Kinesis PutRecord
operation on the destination stream.
An optional list of key-value pairs to associate with the resource.
For more information about tagging, see Tagging Amazon Web Services resources