Class: Aws::EMRServerless::Types::CloudWatchLoggingConfiguration

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-emrserverless/types.rb

Overview

The Amazon CloudWatch configuration for monitoring logs. You can configure your jobs to send log information to CloudWatch.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#enabledBoolean

Enables CloudWatch logging.

Returns:

  • (Boolean)


323
324
325
326
327
328
329
330
331
# File 'lib/aws-sdk-emrserverless/types.rb', line 323

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

#encryption_key_arnString

The Key Management Service (KMS) key ARN to encrypt the logs that you store in CloudWatch Logs.

Returns:

  • (String)


323
324
325
326
327
328
329
330
331
# File 'lib/aws-sdk-emrserverless/types.rb', line 323

class CloudWatchLoggingConfiguration < 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 log group in Amazon CloudWatch Logs where you want to publish your logs.

Returns:

  • (String)


323
324
325
326
327
328
329
330
331
# File 'lib/aws-sdk-emrserverless/types.rb', line 323

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

#log_stream_name_prefixString

Prefix for the CloudWatch log stream name.

Returns:

  • (String)


323
324
325
326
327
328
329
330
331
# File 'lib/aws-sdk-emrserverless/types.rb', line 323

class CloudWatchLoggingConfiguration < 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>>

The types of logs that you want to publish to CloudWatch. If you don’t specify any log types, driver STDOUT and STDERR logs will be published to CloudWatch Logs by default. For more information including the supported worker types for Hive and Spark, see [Logging for EMR Serverless with CloudWatch].

  • **Key Valid Values**: ‘SPARK_DRIVER`, `SPARK_EXECUTOR`, `HIVE_DRIVER`, `TEZ_TASK`

  • **Array Members Valid Values**: ‘STDOUT`, `STDERR`, `HIVE_LOG`, `TEZ_AM`, `SYSTEM_LOGS`

[1]: docs.aws.amazon.com/emr/latest/EMR-Serverless-UserGuide/logging.html#jobs-log-storage-cw

Returns:

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


323
324
325
326
327
328
329
330
331
# File 'lib/aws-sdk-emrserverless/types.rb', line 323

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