Class: Aws::EMRServerless::Types::CloudWatchLoggingConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::EMRServerless::Types::CloudWatchLoggingConfiguration
- Defined in:
- gems/aws-sdk-emrserverless/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.
311 312 313 314 315 316 317 318 319 |
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 311 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.
311 312 313 314 315 316 317 318 319 |
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 311 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.
311 312 313 314 315 316 317 318 319 |
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 311 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.
311 312 313 314 315 316 317 318 319 |
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 311 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
311 312 313 314 315 316 317 318 319 |
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 311 class CloudWatchLoggingConfiguration < Struct.new( :enabled, :log_group_name, :log_stream_name_prefix, :encryption_key_arn, :log_types) SENSITIVE = [] include Aws::Structure end |