RuleSummary
¶
Source code in docs_src/capo_rbin/types/rule_summary.py
description
instance-attribute
¶
description: NotRequired[Description]
The retention rule description.
identifier
instance-attribute
¶
identifier: NotRequired[RuleIdentifier]
The unique ID of the retention rule.
lock_state
instance-attribute
¶
lock_state: NotRequired[LockState]
[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 thelockedandunlockedstates only; it can never transition back tonull.
retention_period
instance-attribute
¶
retention_period: NotRequired[RetentionPeriod]
Information about the retention period for which the retention rule is to retain resources.