Class: Aws::S3Control::Types::S3ObjectLockEventHoldDuration

Inherits:
Struct
  • Object
show all
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

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.

Returns:

  • (Integer)


7924
7925
7926
7927
7928
7929
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 7924

class S3ObjectLockEventHoldDuration < 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.

Returns:

  • (Integer)


7924
7925
7926
7927
7928
7929
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 7924

class S3ObjectLockEventHoldDuration < Struct.new(
  :days,
  :years)
  SENSITIVE = []
  include Aws::Structure
end