DestinationLogsConfiguration
¶
Source code in docs_src/capo_observabilityadmin/types/destination_logs_configuration.py
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}.