Skip to content

Bedrock Agent  >  Structures  >  DeletionProtectionConfiguration

DeletionProtectionConfiguration

Structure Class

DeletionProtectionConfiguration dataclass

Configuration for deletion protection.

Attributes

deletion_protection_status instance-attribute
deletion_protection_status: EnabledOrDisabledState

Enable or disable deletion protection for the connector.

deletion_protection_threshold class-attribute instance-attribute
deletion_protection_threshold: int = 15

The threshold is the maximum percentage of documents that a sync job can delete from your index. If a sync would delete more than this percentage, the sync skips its delete phase, leaving your indexed documents in place. Not supported for the Custom connector.