Skip to content

SessionCloudWatchLoggingConfiguration

Source code in docs_src/capo_emr/types/session_cloud_watch_logging_configuration.py
class SessionCloudWatchLoggingConfiguration(TypedDict, closed=True):
    enabled: NotRequired["capo_emr.types.boolean.Boolean"]
    """<p>Whether CloudWatch Logs is enabled for the session.</p>"""
    log_group: NotRequired["capo_emr.types.xml_string.XmlString"]
    """<p>The name of the log group where session logs are published.</p>"""
    log_stream_name_prefix: NotRequired["capo_emr.types.xml_string.XmlString"]
    """<p>The prefix applied to the log stream name where session logs are published.</p>"""
    encryption_key_arn: NotRequired["capo_emr.types.xml_string.XmlString"]
    """<p>The Amazon Resource Name (ARN) of the KMS key used to encrypt the logs published to CloudWatch Logs.</p>"""
    log_types: NotRequired["capo_emr.types.log_types_map.LogTypesMap"]
    """<p>A map of log component names (for example, <code>SPARK_DRIVER</code>, <code>SPARK_EXECUTOR</code>) to the list of log types to publish for that component (for example, <code>stdout</code>, <code>stderr</code>).</p>"""

enabled instance-attribute

enabled: NotRequired[Boolean]

Whether CloudWatch Logs is enabled for the session.

encryption_key_arn instance-attribute

encryption_key_arn: NotRequired[XmlString]

The Amazon Resource Name (ARN) of the KMS key used to encrypt the logs published to CloudWatch Logs.

log_group instance-attribute

log_group: NotRequired[XmlString]

The name of the log group where session logs are published.

log_stream_name_prefix instance-attribute

log_stream_name_prefix: NotRequired[XmlString]

The prefix applied to the log stream name where session logs are published.

log_types instance-attribute

log_types: NotRequired[LogTypesMap]

A map of log component names (for example, SPARK_DRIVER, SPARK_EXECUTOR) to the list of log types to publish for that component (for example, stdout, stderr).