UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

20 lines (19 loc) 556 B
import { Duration } from '../../core'; /** * CachingConfig for AppSync resolvers */ export interface CachingConfig { /** * The caching keys for a resolver that has caching enabled. * Valid values are entries from the $context.arguments, $context.source, and $context.identity maps. * * @default - No caching keys */ readonly cachingKeys?: string[]; /** * The TTL in seconds for a resolver that has caching enabled. * Valid values are between 1 and 3600 seconds. * */ readonly ttl: Duration; }