Class: Aws::EMR::Types::CloudWatchLogConfiguration

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

Overview

Holds CloudWatch log configuration settings and metadata that specify settings like log files to monitor and where to send them.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#enabledBoolean

Specifies if CloudWatch logging is enabled.

Returns:

  • (Boolean)


596
597
598
599
600
601
602
603
604
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 596

class CloudWatchLogConfiguration < Struct.new(
  :enabled,
  :log_group_name,
  :log_stream_name_prefix,
  :encryption_key_arn,
  :log_types)
  SENSITIVE = []
  include Aws::Structure
end

#encryption_key_arnString

The ARN of the encryption key used to encrypt the logs.

Returns:

  • (String)


596
597
598
599
600
601
602
603
604
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 596

class CloudWatchLogConfiguration < Struct.new(
  :enabled,
  :log_group_name,
  :log_stream_name_prefix,
  :encryption_key_arn,
  :log_types)
  SENSITIVE = []
  include Aws::Structure
end

#log_group_nameString

The name of the CloudWatch log group where logs are published.

Returns:

  • (String)


596
597
598
599
600
601
602
603
604
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 596

class CloudWatchLogConfiguration < Struct.new(
  :enabled,
  :log_group_name,
  :log_stream_name_prefix,
  :encryption_key_arn,
  :log_types)
  SENSITIVE = []
  include Aws::Structure
end

#log_stream_name_prefixString

The prefix of the log stream name.

Returns:

  • (String)


596
597
598
599
600
601
602
603
604
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 596

class CloudWatchLogConfiguration < Struct.new(
  :enabled,
  :log_group_name,
  :log_stream_name_prefix,
  :encryption_key_arn,
  :log_types)
  SENSITIVE = []
  include Aws::Structure
end

#log_typesHash<String,Array<String>>

A map of log types to file names for publishing logs to the standard output or standard error streams for CloudWatch. Valid log types include STEP_LOGS, SPARK_DRIVER, and SPARK_EXECUTOR. Valid file names for each type include STDOUT and STDERR.

Returns:

  • (Hash<String,Array<String>>)


596
597
598
599
600
601
602
603
604
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 596

class CloudWatchLogConfiguration < Struct.new(
  :enabled,
  :log_group_name,
  :log_stream_name_prefix,
  :encryption_key_arn,
  :log_types)
  SENSITIVE = []
  include Aws::Structure
end