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

Class: Aws::Firehose::Types::CloudWatchLoggingOptions

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

Overview

Note:

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

{
  enabled: false,
  log_group_name: "LogGroupName",
  log_stream_name: "LogStreamName",
}

Describes the Amazon CloudWatch logging options for your delivery stream.

Instance Attribute Summary collapse

Instance Attribute Details

#enabledBoolean

Enables or disables CloudWatch logging.

Returns:

  • (Boolean)


75
76
77
78
79
80
# File 'gems/aws-sdk-firehose/lib/aws-sdk-firehose/types.rb', line 75

class CloudWatchLoggingOptions < Struct.new(
  :enabled,
  :log_group_name,
  :log_stream_name)
  include Aws::Structure
end

#log_group_nameString

The CloudWatch group name for logging. This value is required if CloudWatch logging is enabled.

Returns:

  • (String)


75
76
77
78
79
80
# File 'gems/aws-sdk-firehose/lib/aws-sdk-firehose/types.rb', line 75

class CloudWatchLoggingOptions < Struct.new(
  :enabled,
  :log_group_name,
  :log_stream_name)
  include Aws::Structure
end

#log_stream_nameString

The CloudWatch log stream name for logging. This value is required if CloudWatch logging is enabled.

Returns:

  • (String)


75
76
77
78
79
80
# File 'gems/aws-sdk-firehose/lib/aws-sdk-firehose/types.rb', line 75

class CloudWatchLoggingOptions < Struct.new(
  :enabled,
  :log_group_name,
  :log_stream_name)
  include Aws::Structure
end