Files
agent-claw/cdk/node_modules/aws-cdk-lib/aws-appsync/lib/caching-config.d.ts
2026-05-06 18:55:16 -05:00

20 lines
561 B
TypeScript

import type { 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;
}