AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the PutDeliveryDestination operation. 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.

To configure logs delivery between a supported Amazon Web Services service and a destination, you must do the following:

You can configure a single delivery source to send logs to multiple destinations by creating multiple deliveries. You can also create multiple deliveries to configure multiple delivery sources to send logs to the same delivery destination.

Only some Amazon Web Services services support being configured as a delivery source. These services are listed as Supported [V2 Permissions] in the table at Enabling logging from Amazon Web Services services.

If you use this operation to update an existing delivery destination, all the current delivery destination parameters are overwritten with the new parameter values that you specify.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.CloudWatchLogs.AmazonCloudWatchLogsRequest
      Amazon.CloudWatchLogs.Model.PutDeliveryDestinationRequest

Namespace: Amazon.CloudWatchLogs.Model
Assembly: AWSSDK.CloudWatchLogs.dll
Version: 3.x.y.z

Syntax

C#
public class PutDeliveryDestinationRequest : AmazonCloudWatchLogsRequest
         IAmazonWebServiceRequest

The PutDeliveryDestinationRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property DeliveryDestinationConfiguration Amazon.CloudWatchLogs.Model.DeliveryDestinationConfiguration

Gets and sets the property 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.

Public Property DeliveryDestinationType Amazon.CloudWatchLogs.DeliveryDestinationType

Gets and sets the property 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.

Public Property Name System.String

Gets and sets the property Name.

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

Public Property OutputFormat Amazon.CloudWatchLogs.OutputFormat

Gets and sets the property OutputFormat.

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

Public Property Tags System.Collections.Generic.Dictionary<System.String, System.String>

Gets and sets the property Tags.

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

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

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5