Skip to content

SourceLogsConfiguration

Source code in docs_src/capo_observabilityadmin/types/source_logs_configuration.py
class SourceLogsConfiguration(TypedDict, closed=True):
    log_group_selection_criteria: (
        "capo_observabilityadmin.types.logs_filter_string.LogsFilterString"
    )
    """<p>The selection criteria that specifies which source log groups to centralize. The selection criteria uses the same format as OAM link filters.</p>"""
    data_source_selection_criteria: NotRequired[
        "capo_observabilityadmin.types.data_source_filter_string.DataSourceFilterString"
    ]
    """<p>The selection criteria that specifies which data sources to centralize. The selection criteria uses the same filter expression format as <code>LogGroupSelectionCriteria</code>, but operates on <code>DataSourceName</code> and <code>DataSourceType</code> operands. When both <code>LogGroupSelectionCriteria</code> and <code>DataSourceSelectionCriteria</code> are specified, a log event must match both criteria to be centralized.</p>"""
    encrypted_log_group_strategy: "capo_observabilityadmin.types.encrypted_log_group_strategy.EncryptedLogGroupStrategy"
    """<p>A strategy determining whether to centralize source log groups that are encrypted with customer managed KMS keys (CMK). ALLOW will consider CMK encrypted source log groups for centralization while SKIP will skip CMK encrypted source log groups from centralization.</p>"""

data_source_selection_criteria instance-attribute

data_source_selection_criteria: NotRequired[DataSourceFilterString]

The selection criteria that specifies which data sources to centralize. The selection criteria uses the same filter expression format as LogGroupSelectionCriteria, but operates on DataSourceName and DataSourceType operands. When both LogGroupSelectionCriteria and DataSourceSelectionCriteria are specified, a log event must match both criteria to be centralized.

encrypted_log_group_strategy instance-attribute

encrypted_log_group_strategy: EncryptedLogGroupStrategy

A strategy determining whether to centralize source log groups that are encrypted with customer managed KMS keys (CMK). ALLOW will consider CMK encrypted source log groups for centralization while SKIP will skip CMK encrypted source log groups from centralization.

log_group_selection_criteria instance-attribute

log_group_selection_criteria: LogsFilterString

The selection criteria that specifies which source log groups to centralize. The selection criteria uses the same format as OAM link filters.