Class: Aws::ElastiCache::Types::LogDeliveryConfigurationRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb

Overview

Note:

When making an API call, you may pass LogDeliveryConfigurationRequest data as a hash:

{
  log_type: "slow-log", # accepts slow-log
  destination_type: "cloudwatch-logs", # accepts cloudwatch-logs, kinesis-firehose
  destination_details: {
    cloud_watch_logs_details: {
      log_group: "String",
    },
    kinesis_firehose_details: {
      delivery_stream: "String",
    },
  },
  log_format: "text", # accepts text, json
  enabled: false,
}

Specifies the destination, format and type of the logs.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#destination_detailsTypes::DestinationDetails

Configuration details of either a CloudWatch Logs destination or Kinesis Data Firehose destination.



5834
5835
5836
5837
5838
5839
5840
5841
5842
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 5834

class LogDeliveryConfigurationRequest < Struct.new(
  :log_type,
  :destination_type,
  :destination_details,
  :log_format,
  :enabled)
  SENSITIVE = []
  include Aws::Structure
end

#destination_typeString

Specify either cloudwatch-logs or kinesis-firehose as the destination type.

Returns:

  • (String)


5834
5835
5836
5837
5838
5839
5840
5841
5842
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 5834

class LogDeliveryConfigurationRequest < Struct.new(
  :log_type,
  :destination_type,
  :destination_details,
  :log_format,
  :enabled)
  SENSITIVE = []
  include Aws::Structure
end

#enabledBoolean

Specify if log delivery is enabled. Default true.

Returns:

  • (Boolean)


5834
5835
5836
5837
5838
5839
5840
5841
5842
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 5834

class LogDeliveryConfigurationRequest < Struct.new(
  :log_type,
  :destination_type,
  :destination_details,
  :log_format,
  :enabled)
  SENSITIVE = []
  include Aws::Structure
end

#log_formatString

Specifies either JSON or TEXT

Returns:

  • (String)


5834
5835
5836
5837
5838
5839
5840
5841
5842
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 5834

class LogDeliveryConfigurationRequest < Struct.new(
  :log_type,
  :destination_type,
  :destination_details,
  :log_format,
  :enabled)
  SENSITIVE = []
  include Aws::Structure
end

#log_typeString

Refers to slow-log.

Returns:

  • (String)


5834
5835
5836
5837
5838
5839
5840
5841
5842
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 5834

class LogDeliveryConfigurationRequest < Struct.new(
  :log_type,
  :destination_type,
  :destination_details,
  :log_format,
  :enabled)
  SENSITIVE = []
  include Aws::Structure
end