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

Constant Summary collapse

SENSITIVE =
[]

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)


3238
3239
3240
3241
3242
3243
# File 'gems/aws-sdk-elasticsearchservice/lib/aws-sdk-elasticsearchservice/types.rb', line 3238

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

#enabledBoolean

Specifies whether given log publishing option is enabled or not.

Returns:

  • (Boolean)


3238
3239
3240
3241
3242
3243
# File 'gems/aws-sdk-elasticsearchservice/lib/aws-sdk-elasticsearchservice/types.rb', line 3238

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