Class: Aws::EMRServerless::Types::CloudWatchLoggingConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::EMRServerless::Types::CloudWatchLoggingConfiguration
- 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
-
#enabled ⇒ Boolean
Enables CloudWatch logging.
-
#encryption_key_arn ⇒ String
The Key Management Service (KMS) key ARN to encrypt the logs that you store in CloudWatch Logs.
-
#log_group_name ⇒ String
The name of the log group in Amazon CloudWatch Logs where you want to publish your logs.
-
#log_stream_name_prefix ⇒ String
Prefix for the CloudWatch log stream name.
-
#log_types ⇒ Hash<String,Array<String>>
The types of logs that you want to publish to CloudWatch.
Instance Attribute Details
#enabled ⇒ Boolean
Enables CloudWatch logging.
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_arn ⇒ String
The Key Management Service (KMS) key ARN to encrypt the logs that you store in CloudWatch Logs.
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_name ⇒ String
The name of the log group in Amazon CloudWatch Logs where you want to publish your logs.
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_prefix ⇒ String
Prefix for the CloudWatch log stream name.
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_types ⇒ Hash<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
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 |