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.
345 346 347 348 349 350 351 352 353 |
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 345 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.
345 346 347 348 349 350 351 352 353 |
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 345 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.
345 346 347 348 349 350 351 352 353 |
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 345 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.
345 346 347 348 349 350 351 352 353 |
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 345 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_TASKArray Members Valid Values:
STDOUT,STDERR,HIVE_LOG,TEZ_AM,SYSTEM_LOGS
345 346 347 348 349 350 351 352 353 |
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 345 class CloudWatchLoggingConfiguration < Struct.new( :enabled, :log_group_name, :log_stream_name_prefix, :encryption_key_arn, :log_types) SENSITIVE = [] include Aws::Structure end |