Class: Aws::RecycleBin::Types::RuleSummary
- Inherits:
-
Struct
- Object
- Struct
- Aws::RecycleBin::Types::RuleSummary
- Defined in:
- gems/aws-sdk-recyclebin/lib/aws-sdk-recyclebin/types.rb
Overview
Information about a Recycle Bin retention rule.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#description ⇒ String
The retention rule description.
-
#identifier ⇒ String
The unique ID of the retention rule.
-
#lock_state ⇒ String
The lock state for the retention rule.
-
#retention_period ⇒ Types::RetentionPeriod
Information about the retention period for which the retention rule is to retain resources.
Instance Attribute Details
#description ⇒ String
The retention rule description.
551 552 553 554 555 556 557 558 |
# File 'gems/aws-sdk-recyclebin/lib/aws-sdk-recyclebin/types.rb', line 551 class RuleSummary < Struct.new( :identifier, :description, :retention_period, :lock_state) SENSITIVE = [] include Aws::Structure end |
#identifier ⇒ String
The unique ID of the retention rule.
551 552 553 554 555 556 557 558 |
# File 'gems/aws-sdk-recyclebin/lib/aws-sdk-recyclebin/types.rb', line 551 class RuleSummary < Struct.new( :identifier, :description, :retention_period, :lock_state) SENSITIVE = [] include Aws::Structure end |
#lock_state ⇒ String
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 thelocked
andunlocked
states only; it can never transition back tonull
.
551 552 553 554 555 556 557 558 |
# File 'gems/aws-sdk-recyclebin/lib/aws-sdk-recyclebin/types.rb', line 551 class RuleSummary < Struct.new( :identifier, :description, :retention_period, :lock_state) SENSITIVE = [] include Aws::Structure end |
#retention_period ⇒ Types::RetentionPeriod
Information about the retention period for which the retention rule is to retain resources.
551 552 553 554 555 556 557 558 |
# File 'gems/aws-sdk-recyclebin/lib/aws-sdk-recyclebin/types.rb', line 551 class RuleSummary < Struct.new( :identifier, :description, :retention_period, :lock_state) SENSITIVE = [] include Aws::Structure end |