Skip to content

CloudWatchLogConfiguration

Source code in docs_src/capo_emr/types/cloud_watch_log_configuration.py
class CloudWatchLogConfiguration(TypedDict, closed=True):
    enabled: NotRequired["capo_emr.types.boolean.Boolean"]
    """<p>Specifies if CloudWatch logging is enabled.</p>"""
    log_group_name: NotRequired["capo_emr.types.xml_string.XmlString"]
    """<p>The name of the CloudWatch log group where logs are published.</p>"""
    log_stream_name_prefix: NotRequired["capo_emr.types.xml_string.XmlString"]
    """<p>The prefix of the log stream name.</p>"""
    encryption_key_arn: NotRequired["capo_emr.types.xml_string.XmlString"]
    """<p>The ARN of the encryption key used to encrypt the logs.</p>"""
    log_types: NotRequired["capo_emr.types.log_types_map.LogTypesMap"]
    """<p>A map of log types to file names for publishing logs to the standard output or standard error streams for CloudWatch. Valid log types include STEP_LOGS, SPARK_DRIVER, and SPARK_EXECUTOR. Valid file names for each type include STDOUT and STDERR.</p>"""

enabled instance-attribute

enabled: NotRequired[Boolean]

Specifies if CloudWatch logging is enabled.

encryption_key_arn instance-attribute

encryption_key_arn: NotRequired[XmlString]

The ARN of the encryption key used to encrypt the logs.

log_group_name instance-attribute

log_group_name: NotRequired[XmlString]

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

log_stream_name_prefix instance-attribute

log_stream_name_prefix: NotRequired[XmlString]

The prefix of the log stream name.

log_types instance-attribute

log_types: NotRequired[LogTypesMap]

A map of log types to file names for publishing logs to the standard output or standard error streams for CloudWatch. Valid log types include STEP_LOGS, SPARK_DRIVER, and SPARK_EXECUTOR. Valid file names for each type include STDOUT and STDERR.