Class: Aws::FSx::Types::DurationSinceLastAccess

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-fsx/types.rb

Overview

Defines the minimum amount of time since last access for a file to be eligible for release. Only files that have been exported to S3 and that were last accessed or modified before this point-in-time are eligible to be released from the Amazon FSx for Lustre file system.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#unitString

The unit of time used by the ‘Value` parameter to determine if a file can be released, based on when it was last accessed. `DAYS` is the only supported value. This is a required parameter.

Returns:

  • (String)


5404
5405
5406
5407
5408
5409
# File 'lib/aws-sdk-fsx/types.rb', line 5404

class DurationSinceLastAccess < Struct.new(
  :unit,
  :value)
  SENSITIVE = []
  include Aws::Structure
end

#valueInteger

An integer that represents the minimum amount of time (in days) since a file was last accessed in the file system. Only exported files with a ‘MAX(atime, ctime, mtime)` timestamp that is more than this amount of time in the past (relative to the task create time) will be released. The default of `Value` is `0`. This is a required parameter.

<note markdown=“1”> If an exported file meets the last accessed time criteria, its file or directory path must also be specified in the ‘Paths` parameter of the operation in order for the file to be released.

</note>

Returns:

  • (Integer)


5404
5405
5406
5407
5408
5409
# File 'lib/aws-sdk-fsx/types.rb', line 5404

class DurationSinceLastAccess < Struct.new(
  :unit,
  :value)
  SENSITIVE = []
  include Aws::Structure
end