libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.StorageGateway.Types.CacheAttributes

Description

 
Synopsis

Documentation

data CacheAttributes Source #

The refresh cache information for the file share or FSx file systems.

See: newCacheAttributes smart constructor.

Constructors

CacheAttributes' 

Fields

  • cacheStaleTimeoutInSeconds :: Maybe Int

    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)

Instances

Instances details
Eq CacheAttributes Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.CacheAttributes

Read CacheAttributes Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.CacheAttributes

Show CacheAttributes Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.CacheAttributes

Generic CacheAttributes Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.CacheAttributes

Associated Types

type Rep CacheAttributes :: Type -> Type #

NFData CacheAttributes Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.CacheAttributes

Methods

rnf :: CacheAttributes -> () #

Hashable CacheAttributes Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.CacheAttributes

ToJSON CacheAttributes Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.CacheAttributes

FromJSON CacheAttributes Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.CacheAttributes

type Rep CacheAttributes Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.CacheAttributes

type Rep CacheAttributes = D1 ('MetaData "CacheAttributes" "Amazonka.StorageGateway.Types.CacheAttributes" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" 'False) (C1 ('MetaCons "CacheAttributes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cacheStaleTimeoutInSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))

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)