CloudWatchLoggingConfiguration
¶
Source code in docs_src/capo_emr_serverless/types/cloud_watch_logging_configuration.py
encryption_key_arn
instance-attribute
¶
encryption_key_arn: NotRequired[EncryptionKeyArn]
The Key Management Service (KMS) key ARN to encrypt the logs that you store in CloudWatch Logs.
log_group_name
instance-attribute
¶
log_group_name: NotRequired[LogGroupName]
The name of the log group in Amazon CloudWatch Logs where you want to publish your logs.
log_stream_name_prefix
instance-attribute
¶
log_stream_name_prefix: NotRequired[LogStreamNamePrefix]
Prefix for the CloudWatch log stream name.
log_types
instance-attribute
¶
log_types: NotRequired[LogTypeMap]
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