aws logs put-destination
Creates or updates a destination. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--destination-nameA name for the destination.--role-arnThe ARN of an IAM role that grants CloudWatch Logs permissions to call the Amazon Kinesis PutRecord operation on the destination stream.--tagsAn optional list of key-value pairs to associate with the resource.--target-arnThe ARN of an Amazon Kinesis stream to which to deliver matching log events.