Class: Aws::Kafka::Types::CloudWatchLogs

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

Overview

Note:

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

{
  enabled: false, # required
  log_group: "__string",
}

Details of the CloudWatch Logs destination for broker logs.

Instance Attribute Summary collapse

Instance Attribute Details

#enabledBoolean

Specifies whether broker logs get sent to the specified CloudWatch Logs destination.

Returns:

  • (Boolean)


267
268
269
270
271
# File 'gems/aws-sdk-kafka/lib/aws-sdk-kafka/types.rb', line 267

class CloudWatchLogs < Struct.new(
  :enabled,
  :log_group)
  include Aws::Structure
end

#log_groupString

The CloudWatch log group that is the destination for broker logs.

Returns:

  • (String)


267
268
269
270
271
# File 'gems/aws-sdk-kafka/lib/aws-sdk-kafka/types.rb', line 267

class CloudWatchLogs < Struct.new(
  :enabled,
  :log_group)
  include Aws::Structure
end