Class: Aws::RecycleBin::Types::RetentionPeriod
- Inherits:
-
Struct
- Object
- Struct
- Aws::RecycleBin::Types::RetentionPeriod
- Defined in:
- gems/aws-sdk-recyclebin/lib/aws-sdk-recyclebin/types.rb
Overview
Information about the retention period for which the retention rule is to retain resources.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#retention_period_unit ⇒ String
The unit of time in which the retention period is measured.
-
#retention_period_value ⇒ Integer
The period value for which the retention rule is to retain resources, measured in days.
Instance Attribute Details
#retention_period_unit ⇒ String
The unit of time in which the retention period is measured.
Currently, only DAYS is supported.
581 582 583 584 585 586 |
# File 'gems/aws-sdk-recyclebin/lib/aws-sdk-recyclebin/types.rb', line 581 class RetentionPeriod < Struct.new( :retention_period_value, :retention_period_unit) SENSITIVE = [] include Aws::Structure end |
#retention_period_value ⇒ Integer
The period value for which the retention rule is to retain resources, measured in days. The supported retention periods are:
EBS volumes: 1 - 7 days
EBS snapshots and EBS-backed AMIs: 1 - 365 days
581 582 583 584 585 586 |
# File 'gems/aws-sdk-recyclebin/lib/aws-sdk-recyclebin/types.rb', line 581 class RetentionPeriod < Struct.new( :retention_period_value, :retention_period_unit) SENSITIVE = [] include Aws::Structure end |