CachingConfig - AWS AppSync

CachingConfig

The caching configuration for a resolver that has caching activated.

Contents

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.

Type: Array of strings

Required: No

ttl

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

Valid values are 1–3,600 seconds.

Type: Long

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: