CachingConfig - Amazon AppSync
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

CachingConfig

The caching configuration for a resolver that has caching activated.

Contents

ttl

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

Valid values are 1–3,600 seconds.

Type: Long

Required: Yes

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

See Also

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