RDS Resource Recycle Bin Rule

An RDS Resource Recycle Bin Rule in AWS defines retention policies for RDS resources that are deleted, allowing them to be recovered within a specified time frame. It helps protect against accidental deletions by retaining snapshots or instances in the recycle bin until the retention period expires.

aws.rbin_rule

Fields

TitleIDTypeData TypeDescription
_keycorestring
account_idcorestring
descriptioncorestringThe retention rule description.
exclude_resource_tagscorejson[Region-level retention rules only] Information about the exclusion tags used to identify resources that are to be excluded, or ignored, by the retention rule.
identifiercorestringThe unique ID of the retention rule.
lock_configurationcorejsonInformation about the retention rule lock configuration.
lock_end_timecoretimestampThe date and time at which the unlock delay is set to expire. Only returned for retention rules that have been unlocked and that are still within the unlock delay period.
lock_statecorestring[Region-level retention rules only] The lock state for the retention rule. locked - The retention rule is locked and can't be modified or deleted. pending_unlock - The retention rule has been unlocked but it is still within the unlock delay period. The retention rule can be modified or deleted only after the unlock delay period has expired. unlocked - The retention rule is unlocked and it can be modified or deleted by any user with the required permissions. null - The retention rule has never been locked. Once a retention rule has been locked, it can transition between the locked and unlocked states only; it can never transition back to null.
resource_tagscorejson[Tag-level retention rules only] Information about the resource tags used to identify resources that are retained by the retention rule.
resource_typecorestringThe resource type retained by the retention rule.
retention_periodcorejsonInformation about the retention period for which the retention rule is to retain resources.
rule_arncorestringThe Amazon Resource Name (ARN) of the retention rule.
statuscorestringThe state of the retention rule. Only retention rules that are in the available state retain resources.
tagscorehstore