jenis CacheConfig - AWS Secrets Manager

Terjemahan disediakan oleh mesin penerjemah. Jika konten terjemahan yang diberikan bertentangan dengan versi bahasa Inggris aslinya, utamakan versi bahasa Inggris.

jenis CacheConfig

Opsi konfigurasi cache untuk Cache, seperti ukuran cache maksimum, tahap versi default, dan Time to Live (TTL) untuk rahasia cache.

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 }