Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CachingConfig

import type { CachingConfig } from "https://aws-api.deno.dev/v0.3/services/appsync.ts?docs=full";

The caching configuration for a resolver that has caching activated.

interface CachingConfig {
cachingKeys?: string[] | null;
ttl?: number | null;
}

§Properties

§
cachingKeys?: string[] | null
[src]

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?: number | null
[src]

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

Valid values are 1–3,600 seconds.