Skip to content
v2.275.0

CacheAttributesProperty Struct Added in v2.275.0 ​

Refresh cache information for the file share.

Removing this property from a template leaves the share's current value: the service documents no value that resets it.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_storagegateway as storagegateway } from 'aws-cdk-lib';
const cacheAttributesProperty: storagegateway.CfnSMBFileShare.CacheAttributesProperty = {
  cacheStaleTimeoutInSeconds: 123,
};

Properties ​

cacheStaleTimeoutInSecondsoptionalnumbercache_stale_timeout_in_secondsoptionalint | floatcacheStaleTimeoutInSecondsoptionalNumberCacheStaleTimeoutInSecondsoptionaldoubleCacheStaleTimeoutInSecondsoptional*float64#
How long the directory contents cached by the gateway are considered valid.