You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::RDS::Types::CloudwatchLogsExportConfiguration

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

Overview

Note:

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

{
  enable_log_types: ["String"],
  disable_log_types: ["String"],
}

The configuration setting for the log types to be enabled for export to CloudWatch Logs for a specific DB instance or DB cluster.

The EnableLogTypes and DisableLogTypes arrays determine which logs will be exported (or not exported) to CloudWatch Logs. The values within these arrays depend on the DB engine being used. For more information, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

Instance Attribute Summary collapse

Instance Attribute Details

#disable_log_typesArray<String>

The list of log types to disable.

Returns:

  • (Array<String>)


647
648
649
650
651
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 647

class CloudwatchLogsExportConfiguration < Struct.new(
  :enable_log_types,
  :disable_log_types)
  include Aws::Structure
end

#enable_log_typesArray<String>

The list of log types to enable.

Returns:

  • (Array<String>)


647
648
649
650
651
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 647

class CloudwatchLogsExportConfiguration < Struct.new(
  :enable_log_types,
  :disable_log_types)
  include Aws::Structure
end