

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

# type CacheConfig
<a name="retrieving-secrets_cache-go_CacheConfig"></a>

캐싱된 보안 암호에 대한 최대 캐시 크기, 기본 [버전 단계](whats-in-a-secret.md#term_version) 및 유지 시간(TTL)과 같은 [캐시](retrieving-secrets_cache-go_cache.md)에 대한 캐시 구성 옵션.

```
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
}
```