Skip to content

DestinationLogsConfiguration

Source code in docs_src/capo_observabilityadmin/types/destination_logs_configuration.py
class DestinationLogsConfiguration(TypedDict, closed=True):
    logs_encryption_configuration: NotRequired[
        "capo_observabilityadmin.types.logs_encryption_configuration.LogsEncryptionConfiguration"
    ]
    """<p>The encryption configuration for centralization destination log groups.</p>"""
    backup_configuration: NotRequired[
        "capo_observabilityadmin.types.logs_backup_configuration.LogsBackupConfiguration"
    ]
    """<p>Configuration defining the backup region and an optional KMS key for the backup destination.</p>"""
    log_group_name_configuration: NotRequired[
        "capo_observabilityadmin.types.log_group_name_configuration.LogGroupNameConfiguration"
    ]
    """<p>Configuration that specifies a naming pattern for destination log groups created during centralization. The pattern supports static text and dynamic variables that are replaced with source attributes when log groups are created.</p>"""
    tag_propagation_configuration: NotRequired[
        "capo_observabilityadmin.types.tag_propagation_configuration.TagPropagationConfiguration"
    ]
    """<p>Specifies the tag propagation configuration for this centralization rule. When present, <code>LogGroupNameConfiguration</code> must use a <code>LogGroupNamePattern</code> that contains <code>${source.logGroup}</code>, <code>${source.accountId}</code>, and <code>${source.region}</code>.</p>"""
    log_group_deletion_protection: NotRequired[
        "capo_observabilityadmin.types.deletion_protection.DeletionProtection"
    ]
    """<p>Specifies whether this centralization rule enables deletion protection on the destination log groups that it creates. If you don't specify this setting, the rule doesn't enable deletion protection on the log groups that it creates. If you specify a backup Region in <code>BackupConfiguration</code>, the setting also applies to the log groups that the rule creates in the backup Region.</p> <p>When you set this to <code>ENABLED</code>, the rule enables deletion protection only on log groups that it creates after you enable the setting. It does not add deletion protection to log groups the rule created before you enabled the setting.</p> <p>If you remove this setting from the rule or delete the rule, deletion protection stays enabled on log groups that already have it. To delete one of these log groups, first disable deletion protection on the log group in the destination account.</p>"""

backup_configuration instance-attribute

backup_configuration: NotRequired[LogsBackupConfiguration]

Configuration defining the backup region and an optional KMS key for the backup destination.

log_group_deletion_protection instance-attribute

log_group_deletion_protection: NotRequired[DeletionProtection]

Specifies whether this centralization rule enables deletion protection on the destination log groups that it creates. If you don't specify this setting, the rule doesn't enable deletion protection on the log groups that it creates. If you specify a backup Region in BackupConfiguration, the setting also applies to the log groups that the rule creates in the backup Region.

When you set this to ENABLED, the rule enables deletion protection only on log groups that it creates after you enable the setting. It does not add deletion protection to log groups the rule created before you enabled the setting.

If you remove this setting from the rule or delete the rule, deletion protection stays enabled on log groups that already have it. To delete one of these log groups, first disable deletion protection on the log group in the destination account.

log_group_name_configuration instance-attribute

log_group_name_configuration: NotRequired[LogGroupNameConfiguration]

Configuration that specifies a naming pattern for destination log groups created during centralization. The pattern supports static text and dynamic variables that are replaced with source attributes when log groups are created.

logs_encryption_configuration instance-attribute

logs_encryption_configuration: NotRequired[LogsEncryptionConfiguration]

The encryption configuration for centralization destination log groups.

tag_propagation_configuration instance-attribute

tag_propagation_configuration: NotRequired[TagPropagationConfiguration]

Specifies the tag propagation configuration for this centralization rule. When present, LogGroupNameConfiguration must use a LogGroupNamePattern that contains ${source.logGroup}, ${source.accountId}, and ${source.region}.