type CacheConfig - Amazon Secrets Manager
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

type CacheConfig

Cache configuration options for a Cache, such as maximum cache size, default version stage, and Time to Live (TTL) for cached secrets.

type CacheConfig struct { // The maximum cache size. The default is 1024 secrets. MaxCacheSize int // The TTL of a cache item in nanoseconds. The default is // 3.6e10^12 ns or 1 hour. CacheItemTTL int64 // The version of secrets that you want to cache. The default // is "AWSCURRENT". VersionStage string // Used to hook in-memory cache updates. Hook CacheHook }