Skip to content

GroupingAttributeDefinition

Source code in docs_src/capo_application_signals/types/grouping_attribute_definition.py
class GroupingAttributeDefinition(TypedDict, closed=True):
    grouping_name: "capo_application_signals.types.grouping_string.GroupingString"
    """<p>The friendly name for this grouping attribute, such as <code>BusinessUnit</code> or <code>Environment</code>. This name is used to identify the grouping in the console and APIs.</p>"""
    grouping_source_keys: NotRequired[
        "capo_application_signals.types.grouping_source_key_string_list.GroupingSourceKeyStringList"
    ]
    """<p>An array of source keys used to derive the grouping attribute value from telemetry data, Amazon Web Services tags, or other sources. For example, ["business_unit", "team"] would look for values in those fields.</p>"""
    default_grouping_value: NotRequired[
        "capo_application_signals.types.grouping_string.GroupingString"
    ]
    """<p>The default value to use for this grouping attribute when no value can be derived from the source keys. This ensures all services have a grouping value even if the source data is missing.</p>"""

default_grouping_value instance-attribute

default_grouping_value: NotRequired[GroupingString]

The default value to use for this grouping attribute when no value can be derived from the source keys. This ensures all services have a grouping value even if the source data is missing.

grouping_name instance-attribute

grouping_name: GroupingString

The friendly name for this grouping attribute, such as BusinessUnit or Environment. This name is used to identify the grouping in the console and APIs.

grouping_source_keys instance-attribute

grouping_source_keys: NotRequired[GroupingSourceKeyStringList]

An array of source keys used to derive the grouping attribute value from telemetry data, Amazon Web Services tags, or other sources. For example, ["business_unit", "team"] would look for values in those fields.