Class: Aws::StorageGateway::Types::CacheAttributes

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb

Overview

Note:

When making an API call, you may pass CacheAttributes data as a hash:

{
  cache_stale_timeout_in_seconds: 1,
}

The refresh cache information for the file share.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cache_stale_timeout_in_secondsInteger

Refreshes a file share's cache by using Time To Live (TTL). TTL is the length of time since the last refresh after which access to the directory would cause the file gateway to first refresh that directory's contents from the Amazon S3 bucket or Amazon FSx file system. The TTL duration is in seconds.

Valid Values: 300 to 2,592,000 seconds (5 minutes to 30 days)

Returns:

  • (Integer)


789
790
791
792
793
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 789

class CacheAttributes < Struct.new(
  :cache_stale_timeout_in_seconds)
  SENSITIVE = []
  include Aws::Structure
end