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,
}

Lists refresh cache information.

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. The TTL duration is in seconds.

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

Returns:

  • (Integer)


701
702
703
704
705
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 701

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