Skip to contents

Creates or updates a logical delivery destination. A delivery destination is an Amazon Web Services resource that represents an Amazon Web Services service that logs can be sent to. CloudWatch Logs, Amazon S3, and Firehose are supported as logs delivery destinations and X-Ray as the trace delivery destination.

See https://www.paws-r-sdk.com/docs/cloudwatchlogs_put_delivery_destination/ for full documentation.

Usage

cloudwatchlogs_put_delivery_destination(
  name,
  outputFormat = NULL,
  deliveryDestinationConfiguration = NULL,
  deliveryDestinationType = NULL,
  tags = NULL
)

Arguments

name

[required] A name for this delivery destination. This name must be unique for all delivery destinations in your account.

outputFormat

The format for the logs that this delivery destination will receive.

deliveryDestinationConfiguration

A structure that contains the ARN of the Amazon Web Services resource that will receive the logs.

deliveryDestinationConfiguration is required for CloudWatch Logs, Amazon S3, Firehose log delivery destinations and not required for X-Ray trace delivery destinations. deliveryDestinationType is needed for X-Ray trace delivery destinations but not required for other logs delivery destinations.

deliveryDestinationType

The type of delivery destination. This parameter specifies the target service where log data will be delivered. Valid values include:

  • S3 - Amazon S3 for long-term storage and analytics

  • CWL - CloudWatch Logs for centralized log management

  • FH - Amazon Kinesis Data Firehose for real-time data streaming

  • XRAY - Amazon Web Services X-Ray for distributed tracing and application monitoring

The delivery destination type determines the format and configuration options available for log delivery.

tags

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

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