Skip to content

AppSyncCacheConfig

Open in ChatGPTOpen in Claude

Defined in: packages/core/src/config/types.ts:118

API-level server-side cache. Absent ⇒ no cache resource is created. When present and behavior is PER_RESOLVER_CACHING (the default), the per-resolver caching keys that Phase 3D2 ships inert become live.

optional atRestEncryption?: boolean

Defined in: packages/core/src/config/types.ts:126

At-rest encryption. Default true (security pillar).


optional behavior?: AppSyncCacheBehavior

Defined in: packages/core/src/config/types.ts:124

Caching behavior. Default “PER_RESOLVER_CACHING”.


optional healthMetrics?: boolean

Defined in: packages/core/src/config/types.ts:130

CloudWatch per-cache health metrics. Default true (observability pillar).


optional instanceType?: AppSyncCacheInstanceType

Defined in: packages/core/src/config/types.ts:122

Cluster instance size. Default “SMALL” (cost pillar — smallest that works).


optional transitEncryption?: boolean

Defined in: packages/core/src/config/types.ts:128

In-transit encryption. Default true (security pillar).


ttlSeconds: number

Defined in: packages/core/src/config/types.ts:120

Cache TTL in seconds (1–3600). Required — no safe default for a cache.

© 2026 Axis Tech. Powered by axis-tech.co.