Skip to content

LogGroupNameConfiguration

Source code in docs_src/capo_observabilityadmin/types/log_group_name_configuration.py
class LogGroupNameConfiguration(TypedDict, closed=True):
    log_group_name_pattern: (
        "capo_observabilityadmin.types.log_group_name_pattern.LogGroupNamePattern"
    )
    """<p>The pattern used to generate destination log group names during centralization. The pattern can contain static text and dynamic variables that are replaced with source attributes. If a variable cannot be resolved, it inherits the value from its parent variable in the hierarchy. The pattern must be between 1 and 512 characters.</p> <p>Supported variables:</p> <ul> <li> <p> <b>${source.logGroup}</b> — The original log group name from the source account.</p> </li> <li> <p> <b>${source.accountId}</b> — The Amazon Web Services account ID where the log originated.</p> </li> <li> <p> <b>${source.region}</b> — The Amazon Web Services Region where the log originated.</p> </li> <li> <p> <b>${source.org.id}</b> — The Amazon Web Services Organization ID of the source account.</p> </li> <li> <p> <b>${source.org.ouId}</b> — The organizational unit ID of the source account.</p> </li> <li> <p> <b>${source.org.rootId}</b> — The organization Root ID.</p> </li> <li> <p> <b>${source.org.path}</b> — The organizational path from account to root.</p> </li> </ul>"""

log_group_name_pattern instance-attribute

log_group_name_pattern: LogGroupNamePattern

The pattern used to generate destination log group names during centralization. The pattern can contain static text and dynamic variables that are replaced with source attributes. If a variable cannot be resolved, it inherits the value from its parent variable in the hierarchy. The pattern must be between 1 and 512 characters.

Supported variables:

  • ${source.logGroup} — The original log group name from the source account.

  • ${source.accountId} — The Amazon Web Services account ID where the log originated.

  • ${source.region} — The Amazon Web Services Region where the log originated.

  • ${source.org.id} — The Amazon Web Services Organization ID of the source account.

  • ${source.org.ouId} — The organizational unit ID of the source account.

  • ${source.org.rootId} — The organization Root ID.

  • ${source.org.path} — The organizational path from account to root.