Skip to content

SessionS3LoggingConfiguration

Source code in docs_src/capo_emr/types/session_s3_logging_configuration.py
class SessionS3LoggingConfiguration(TypedDict, closed=True):
    enabled: NotRequired["capo_emr.types.boolean.Boolean"]
    """<p>Whether Amazon S3 logging is enabled for the session.</p>"""
    log_uri: NotRequired["capo_emr.types.xml_string.XmlString"]
    """<p>The Amazon S3 destination URI 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 logs published to Amazon S3.</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 Amazon S3 logging 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 logs published to Amazon S3.

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).

log_uri instance-attribute

log_uri: NotRequired[XmlString]

The Amazon S3 destination URI where session logs are published.