Class: Aws::OpenSearchService::Types::LogPublishingOption

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/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 a given domain. Attributes and their details: * CloudWatchLogsLogGroupArn: ARN of the Cloudwatch log group to publish logs to. * Enabled: Whether the log publishing for a 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 publish logs to.

Returns:

  • (String)


3640
3641
3642
3643
3644
3645
# File 'gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/types.rb', line 3640

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

#enabledBoolean

Whether the given log publishing option is enabled or not.

Returns:

  • (Boolean)


3640
3641
3642
3643
3644
3645
# File 'gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/types.rb', line 3640

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