Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Amazonka.StorageGateway.Types.CacheAttributes
Description
Documentation
data CacheAttributes Source #
The refresh cache information for the file share or FSx file systems.
See: newCacheAttributes
smart constructor.
Constructors
CacheAttributes' | |
Fields
|
Instances
newCacheAttributes :: CacheAttributes Source #
Create a value of CacheAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:cacheStaleTimeoutInSeconds:CacheAttributes'
, cacheAttributes_cacheStaleTimeoutInSeconds
- 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:0, 300 to 2,592,000 seconds (5 minutes to 30 days)
cacheAttributes_cacheStaleTimeoutInSeconds :: Lens' CacheAttributes (Maybe Int) Source #
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:0, 300 to 2,592,000 seconds (5 minutes to 30 days)