cloudwatchlogs_put_destination: Creates or updates a destination

View source: R/cloudwatchlogs_operations.R

cloudwatchlogs_put_destinationR Documentation

Creates or updates a destination

Description

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.

Usage

cloudwatchlogs_put_destination(
  destinationName,
  targetArn,
  roleArn,
  tags = NULL
)

Arguments

destinationName

[required] A name for the destination.

targetArn

[required] The ARN of an Amazon Kinesis stream to which to deliver matching log events.

roleArn

[required] The ARN of an IAM role that grants CloudWatch Logs permissions to call the Amazon Kinesis PutRecord operation on the destination stream.

tags

An optional list of key-value pairs to associate with the resource.

For more information about tagging, see Tagging Amazon Web Services resources


paws.management documentation built on Sept. 12, 2023, 1:06 a.m.