Skip to content

CachingConfig

Source code in docs_src/capo_appsync/types/caching_config.py
class CachingConfig(TypedDict, closed=True):
    ttl: "capo_appsync.types.long.Long"
    """<p>The TTL in seconds for a resolver that has caching activated.</p> <p>Valid values are 1–3,600 seconds.</p>"""
    caching_keys: NotRequired["capo_appsync.types.caching_keys.CachingKeys"]
    """<p>The caching keys for a resolver that has caching activated.</p> <p>Valid values are entries from the <code>$context.arguments</code>, <code>$context.source</code>, and <code>$context.identity</code> maps.</p>"""

caching_keys instance-attribute

caching_keys: NotRequired[CachingKeys]

The caching keys for a resolver that has caching activated.

Valid values are entries from the $context.arguments, $context.source, and $context.identity maps.

ttl instance-attribute

ttl: Long

The TTL in seconds for a resolver that has caching activated.

Valid values are 1–3,600 seconds.