Skip to content

DataSource

Source code in docs_src/capo_observabilityadmin/types/data_source.py
class DataSource(TypedDict, closed=True):
    name: NotRequired["str"]
    """<p>The name of the data source. For CloudWatch Logs sources, this corresponds to the <code>data_source_name</code> from the log event metadata. For third-party sources, this is either the configured <code>data_source_name</code> or defaults to the plugin name if not specified.</p>"""
    type: NotRequired["str"]
    """<p>The type of the data source. For CloudWatch Logs sources, this corresponds to the <code>data_source_type</code> from the log event metadata. For third-party sources, this field is empty.</p>"""

name instance-attribute

name: NotRequired[str]

The name of the data source. For CloudWatch Logs sources, this corresponds to the data_source_name from the log event metadata. For third-party sources, this is either the configured data_source_name or defaults to the plugin name if not specified.

type instance-attribute

type: NotRequired[str]

The type of the data source. For CloudWatch Logs sources, this corresponds to the data_source_type from the log event metadata. For third-party sources, this field is empty.