Class: Aws::CloudWatchLogs::Types::PutDeliveryDestinationRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudwatchlogs/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#delivery_destination_configurationTypes::DeliveryDestinationConfiguration

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

<note markdown=“1”> ‘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.

</note>


6292
6293
6294
6295
6296
6297
6298
6299
6300
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 6292

class PutDeliveryDestinationRequest < Struct.new(
  :name,
  :output_format,
  :delivery_destination_configuration,
  :delivery_destination_type,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#delivery_destination_typeString

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.

Returns:

  • (String)


6292
6293
6294
6295
6296
6297
6298
6299
6300
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 6292

class PutDeliveryDestinationRequest < Struct.new(
  :name,
  :output_format,
  :delivery_destination_configuration,
  :delivery_destination_type,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

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

Returns:

  • (String)


6292
6293
6294
6295
6296
6297
6298
6299
6300
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 6292

class PutDeliveryDestinationRequest < Struct.new(
  :name,
  :output_format,
  :delivery_destination_configuration,
  :delivery_destination_type,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#output_formatString

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

Returns:

  • (String)


6292
6293
6294
6295
6296
6297
6298
6299
6300
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 6292

class PutDeliveryDestinationRequest < Struct.new(
  :name,
  :output_format,
  :delivery_destination_configuration,
  :delivery_destination_type,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

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

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

[1]: docs.aws.amazon.com/general/latest/gr/aws_tagging.html

Returns:

  • (Hash<String,String>)


6292
6293
6294
6295
6296
6297
6298
6299
6300
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 6292

class PutDeliveryDestinationRequest < Struct.new(
  :name,
  :output_format,
  :delivery_destination_configuration,
  :delivery_destination_type,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end