Class: Aws::S3Control::Types::S3ObjectLockRetentionEventHoldDuration
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3Control::Types::S3ObjectLockRetentionEventHoldDuration
- Defined in:
- gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb
Overview
Contains the duration configuration for an event hold, specified in either days or years.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#days ⇒ Integer
The number of days for the event hold duration.
-
#years ⇒ Integer
The number of years for the event hold duration.
Instance Attribute Details
#days ⇒ Integer
The number of days for the event hold duration. The minimum value is 1 and the maximum value is 36,500.
7894 7895 7896 7897 7898 7899 |
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 7894 class S3ObjectLockRetentionEventHoldDuration < Struct.new( :days, :years) SENSITIVE = [] include Aws::Structure end |
#years ⇒ Integer
The number of years for the event hold duration. The minimum value is 1 and the maximum value is 100.
7894 7895 7896 7897 7898 7899 |
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 7894 class S3ObjectLockRetentionEventHoldDuration < Struct.new( :days, :years) SENSITIVE = [] include Aws::Structure end |