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

Class: Aws::ElasticsearchService::Types::LogPublishingOption

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

Overview

Note:

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

{
  cloud_watch_logs_log_group_arn: "CloudWatchLogsLogGroupArn",
  enabled: false,
}

Log Publishing option that is set for given domain. Attributes and their details: * CloudWatchLogsLogGroupArn: ARN of the Cloudwatch log group to which log needs to be published. * Enabled: Whether the log publishing for given log type is enabled or not

Instance Attribute Summary collapse

Instance Attribute Details

#cloud_watch_logs_log_group_arnString

ARN of the Cloudwatch log group to which log needs to be published.

Returns:

  • (String)


1271
1272
1273
1274
1275
# File 'gems/aws-sdk-elasticsearchservice/lib/aws-sdk-elasticsearchservice/types.rb', line 1271

class LogPublishingOption < Struct.new(
  :cloud_watch_logs_log_group_arn,
  :enabled)
  include Aws::Structure
end

#enabledBoolean

Specifies whether given log publishing option is enabled or not.

Returns:

  • (Boolean)


1271
1272
1273
1274
1275
# File 'gems/aws-sdk-elasticsearchservice/lib/aws-sdk-elasticsearchservice/types.rb', line 1271

class LogPublishingOption < Struct.new(
  :cloud_watch_logs_log_group_arn,
  :enabled)
  include Aws::Structure
end