Skip to content

LogsConfigurationPolicy

Source code in docs_src/capo_cleanroomsml/types/logs_configuration_policy.py
class LogsConfigurationPolicy(TypedDict, closed=True):
    allowed_account_ids: "capo_cleanroomsml.types.account_id_list.AccountIdList"
    """<p>A list of account IDs that are allowed to access the logs.</p>"""
    filter_pattern: NotRequired["str"]
    """<p>A regular expression pattern that is used to parse the logs and return information that matches the pattern.</p>"""
    log_type: "capo_cleanroomsml.types.log_type.LogType"
    """<p>Specifies the type of log this policy applies to. The currently supported policies are ALL or ERROR_SUMMARY.</p>"""
    log_redaction_configuration: NotRequired[
        "capo_cleanroomsml.types.log_redaction_configuration.LogRedactionConfiguration"
    ]
    """<p>Specifies the log redaction configuration for this policy.</p>"""

allowed_account_ids instance-attribute

allowed_account_ids: AccountIdList

A list of account IDs that are allowed to access the logs.

filter_pattern instance-attribute

filter_pattern: NotRequired[str]

A regular expression pattern that is used to parse the logs and return information that matches the pattern.

log_redaction_configuration instance-attribute

log_redaction_configuration: NotRequired[LogRedactionConfiguration]

Specifies the log redaction configuration for this policy.

log_type instance-attribute

log_type: LogType

Specifies the type of log this policy applies to. The currently supported policies are ALL or ERROR_SUMMARY.